Skip to content

Commit

Permalink
improve dist folder packing in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sdumetz committed Dec 17, 2024
1 parent c6e4b88 commit 6bb3a6c
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
retention-days: 1

pack:
name: Pack tarball
name: Pack
runs-on: ubuntu-latest
needs: [build-ui, build-server]
steps:
Expand All @@ -75,14 +75,9 @@ jobs:
rm server-files/package.json
mv server-files/* ./
rm -r server-files
- name: make tarball
working-directory: eCorpus-unpacked
run: |
tar -zcf ../eCorpus-${{github.ref_name}}.tgz ./*
- uses: actions/upload-artifact@v4
with:
name: "dist"
path: "eCorpus-*.tgz"
name: "eCorpus-${{github.ref_name}}"
path: "eCorpus-unpacked/*"
if-no-files-found: error
retention-days: 10

0 comments on commit 6bb3a6c

Please sign in to comment.