Skip to content

Commit

Permalink
Update name of the artifact to be similar to package name
Browse files Browse the repository at this point in the history
  • Loading branch information
miry committed Jan 5, 2024
1 parent 6a696e3 commit 75bdead
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/llvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,13 @@ jobs:
- name: Build
run: bundle exec omnibus build llvm --log-level debug --override use_git_caching:false

- uses: actions/upload-artifact@v3
- name: Extract package name to build a build artifact name
run: |
filename=$(ls -1 omnibus/pkg/llvm-*.tar.gz)
echo "BUILD_NAME=${filename%.*}" >> "$GITHUB_ENV"
- uses: actions/upload-artifact@v4
with:
name: llvm-archive
name: ${{ env.BUILD_NAME }}
path: omnibus/pkg/*.tar.gz
retention-days: 1
if-no-files-found: error

0 comments on commit 75bdead

Please sign in to comment.