Skip to content

Commit

Permalink
Split archive and upload process as gh does not allow run and uses in…
Browse files Browse the repository at this point in the history
… the same step
  • Loading branch information
hmelder committed Nov 5, 2023
1 parent 76355c6 commit 26ffa56
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-toolchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ jobs:
./cmd/main.sh --release bookworm --architecture ${{ matrix.architecture }} --no-sandbox -o libobjc2
env:
DEBIAN_FRONTEND: noninteractive

- name: Archive and Upload Resulting Packages
- name: Archive Packages
run: |
cd build/debian
tar -cvzf packages-${{ matrix.architecture }}.tar.gz $(find . -type f \( -name "*.deb" -o -name "*.changes" -o -name "*.dsc" -o -name "*.ddeb" \))
- name: Upload Packages
uses: actions/upload-artifact@v3
with:
name: packages-${{ matrix.architecture }}
Expand Down

0 comments on commit 26ffa56

Please sign in to comment.