Skip to content

Commit

Permalink
Fix upload assets
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonMarechal25 committed Jan 11, 2024
1 parent f7bef4c commit d25902e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/centos-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -272,21 +272,21 @@ jobs:
- name: Download Artifact
uses: actions/download-artifact@v3
with:
name: $ZIP_NAME
name: ${{env.ZIP_NAME}}
path: .

- name: Download Artifact
uses: actions/download-artifact@v3
with:
name: $SINGLEFILE_NAME
name: ${{env.SINGLEFILE_NAME}}
path: .

- name: Upload Release Asset
env:
GH_REPO: ${{ github.repository }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload --repo ${{env.GH_REPO}} ${{ steps.get_release.outputs.tag_name }} $ZIP_NAME
gh release upload --repo ${{env.GH_REPO}} ${{ steps.get_release.outputs.tag_name }} $SINGLEFILE_NAME
gh release upload --repo ${{env.GH_REPO}} ${{ steps.get_release.outputs.tag_name }} ${{env.ZIP_NAME}}
gh release upload --repo ${{env.GH_REPO}} ${{ steps.get_release.outputs.tag_name }} ${{env.SINGLEFILE_NAME}}
########################
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload ${{ steps.get_release.outputs.tag_name }} _build/${{env.TGZ_NAME}}
gh release upload ${{ steps.get_release.outputs.tag_name }} _build/${{env.TGZ_NAME}}
gh release upload ${{ steps.get_release.outputs.tag_name }} ${{ steps.create-single-file.outputs.archive-path }}
########################
8 changes: 4 additions & 4 deletions .github/workflows/windows-vcpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -255,21 +255,21 @@ jobs:
- name: Download Artifact
uses: actions/download-artifact@v3
with:
name: $ZIP_NAME
name: ${{env.ZIP_NAME}}
path: .

- name: Download Artifact
uses: actions/download-artifact@v3
with:
name: $SINGLEFILE_NAME
name: ${{env.SINGLEFILE_NAME}}
path: .

- name: Upload Release Asset
env:
GH_REPO: ${{ github.repository }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload --repo ${{env.GH_REPO}} ${{ steps.get_release.outputs.tag_name }} $ZIP_NAME
gh release upload --repo ${{env.GH_REPO}} ${{ steps.get_release.outputs.tag_name }} $SINGLEFILE_NAME
gh release upload --repo ${{env.GH_REPO}} ${{ steps.get_release.outputs.tag_name }} ${{env.ZIP_NAME}}
gh release upload --repo ${{env.GH_REPO}} ${{ steps.get_release.outputs.tag_name }} ${{env.SINGLEFILE_NAME}}
########################

0 comments on commit d25902e

Please sign in to comment.