Skip to content

Commit

Permalink
Update artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
wiresock committed Dec 4, 2023
1 parent ca8fbb8 commit 97f0faa
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,35 +73,33 @@ jobs:
body: "Release of WFPCalloutExplorer"

- name: Upload Release Asset x86
if: contains(github.ref, 'x86') && contains(fromJson(needs.build.outputs.artifacts.uploaded-artifact-names), 'wfpcalloutexplorer-x86')
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./artifacts/wfpcalloutexplorer-x86.exe
asset_path: ./artifacts/wfpcalloutexplorer-x86/WFPCalloutExplorer.exe
asset_name: wfpcalloutexplorer-x86.exe
asset_content_type: application/octet-stream

- name: Upload Release Asset x64
if: contains(github.ref, 'x64') && contains(fromJson(steps.artifacts.outputs.uploaded-artifact-names), 'wfpcalloutexplorer-x64')
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./artifacts/wfpcalloutexplorer-x64.exe
asset_path: ./artifacts/wfpcalloutexplorer-x64/WFPCalloutExplorer.exe
asset_name: wfpcalloutexplorer-x64.exe
asset_content_type: application/octet-stream

- name: Upload Release Asset arm64
if: contains(github.ref, 'arm64') && contains(fromJson(steps.artifacts.outputs.uploaded-artifact-names), 'wfpcalloutexplorer-arm64')
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./artifacts/wfpcalloutexplorer-arm64.exe
asset_path: ./artifacts/wfpcalloutexplorer-arm64/WFPCalloutExplorer.exe
asset_name: wfpcalloutexplorer-arm64.exe
asset_content_type: application/octet-stream


0 comments on commit 97f0faa

Please sign in to comment.