Skip to content

Commit

Permalink
Fix upload url in release action
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierRaynaud committed Jan 4, 2023
1 parent 73bcb6a commit 2a8da41
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release-kvx-elf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:
release:
needs: build
runs-on: ubuntu-latest
outputs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
steps:
- name: Check pre-release
id: get_prerelease
Expand Down Expand Up @@ -68,7 +70,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./toolchain-package/gcc-kalray-kvx-${{ matrix.os }}-${{ steps.get_version.outputs.VERSION }}.tar.gz
upload_url: ${{ needs.release.outputs.upload_url }}
asset_path: gcc-kalray-kvx-${{ matrix.os }}-${{ steps.get_version.outputs.VERSION }}.tar.gz
asset_name: gcc-kalray-kvx-${{ matrix.os }}-${{ steps.get_version.outputs.VERSION }}.tar.gz
asset_content_type: application/gzip
6 changes: 4 additions & 2 deletions .github/workflows/release-kvx-llvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:
release:
needs: build
runs-on: ubuntu-latest
outputs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
steps:
- name: Check pre-release
id: get_prerelease
Expand Down Expand Up @@ -68,7 +70,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./toolchain-package/llvm-kalray-kvx-${{ steps.get_version.outputs.VERSION }}.tar.gz
upload_url: ${{ needs.release.outputs.upload_url }}
asset_path: llvm-kalray-kvx-${{ matrix.os }}-${{ steps.get_version.outputs.VERSION }}.tar.gz
asset_name: llvm-kalray-kvx-${{ matrix.os }}-${{ steps.get_version.outputs.VERSION }}.tar.gz
asset_content_type: application/gzip

0 comments on commit 2a8da41

Please sign in to comment.