Depend obfuscate job on outputs of others

This commit is contained in:
Jerry Jacobs 2024-07-26 15:01:10 +02:00
parent 2cbcf2ffde
commit 3e67850957
1 changed files with 31 additions and 6 deletions

View File

@ -15,7 +15,7 @@ env:
GO_VERSION: "~1.22.5" GO_VERSION: "~1.22.5"
jobs: jobs:
build-release: release:
name: Build release name: Build release
environment: prod environment: prod
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -51,7 +51,7 @@ jobs:
path: | path: |
dist dist
build-release-dll: release-dll:
name: Build release DLL name: Build release DLL
environment: prod environment: prod
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -101,16 +101,41 @@ jobs:
path: | path: |
dist dist
build-release-dll-obfuscated: release-obfuscate:
name: Build release DLL obfuscated name: Build release obfuscated
runs-on: windows-latest runs-on: windows-latest
needs:
- release
- release-dll
steps: steps:
- name: Check out Alcatraz - name: Check out Alcatraz
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
repository: 'weak1337/Alcatraz' repository: 'weak1337/Alcatraz'
- name: Run Alcatraz-con.exe - name: Download release artifacts
run: "./x64/Release/Alcatraz-con.exe" uses: actions/download-artifact@v4
with:
name: dist
- name: Download release-dll artifacts
uses: actions/download-artifact@v4
with:
name: dist-dll
- name: List files
run: "dir /A-D /S /B"
- name: Run Alcatraz-con.exe on DLL
run: "./x64/Release/Alcatraz-con.exe dist-dll/dll_windows_amd64_v1/go-socks5-ssh-proxy.dll"
- name: Run Alcatraz-con.exe on DLL
run: "./x64/Release/Alcatraz-con.exe dist-dll/dll_windows_amd64_v1/go-socks5-ssh-proxy.dll"
- name: Store release artifacts
uses: actions/upload-artifact@v4
with:
name: dist-obfuscated
path: |
dist