Skip to content

Commit

Permalink
CI: handle artifact download and release properly
Browse files Browse the repository at this point in the history
Change-Id: I877f945c1305db94b6c49eb7d65859f7f642b5d4
Signed-off-by: Vaisakh Murali <[email protected]>
  • Loading branch information
mvaisakh committed Feb 13, 2024
1 parent b1ef5e0 commit 6636bb6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/toolchain-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- uses: actions/upload-artifact@main
with:
name: tarballs
name: aarch64-tarball
path: |
*.xz
gcc-version
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
- uses: actions/upload-artifact@main
with:
name: tarballs
name: arm-tarball
path: |
*.xz
Expand All @@ -95,14 +95,13 @@ jobs:
- name: Restoring artifacts
uses: actions/download-artifact@main
with:
name: tarballs
path: ${{ github.workspace }}
- name: Release Tag
id: release_tag
run: echo "TAG_NAME='GCC Build $(date -u +%d%m%Y%I%M)'" >> $GITHUB_ENV
- name: Create Release
run: |
gh release create ${{ env.TAG_NAME }} -F gcc-version *.xz
gh release create ${{ env.TAG_NAME }} -F aarch64-tarball/gcc-version *.xz
send-day:
needs: [publish-release]
Expand Down

0 comments on commit 6636bb6

Please sign in to comment.