Skip to content

Commit

Permalink
Improved release workflow to work with download/upload actions v4 (#1266
Browse files Browse the repository at this point in the history
)
  • Loading branch information
intuibase authored Jan 20, 2025
1 parent 374b3e3 commit 940eddb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
run: make -C packaging info
- uses: actions/upload-artifact@v4
with:
name: package-${{ matrix.BUILD_ARCH }}
name: packages-${{ matrix.BUILD_ARCH }}
path: |
build/packages/*
!build/packages/**/*.sha512
13 changes: 11 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,19 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4

- name: Download package artifacts
uses: actions/download-artifact@v4
with:
pattern: package-*
pattern: packages-*
path: ${{ env.BUILD_PACKAGES }}
- name: Moving packages out of folders
run: |
pushd ${{ env.BUILD_PACKAGES }}
find . -mindepth 2 -type f -exec mv -t . {} +
find . -mindepth 1 -maxdepth 1 -type d -exec rm -r {} +
popd
ls -R ${{ env.BUILD_PACKAGES }}
- name: generate build provenance
uses: actions/attest-build-provenance@7668571508540a607bdfd90a87a560489fe372eb # v2.1.0
Expand Down

0 comments on commit 940eddb

Please sign in to comment.