Skip to content

Commit

Permalink
Fix source tar 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Cubitect committed Feb 1, 2024
1 parent 048d182 commit 2a5cf8e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/source-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,18 @@ jobs:

- name: Build source bundle
working-directory: ${{env.SOURCE_DIR}}
run: |
rm -rf ${{env.PROG}}/.git*
tar cvzf ${{env.PROG}}-${{github.ref_name}}-src.tar.gz ${{env.PROG}}
run: |
cd ..
pwd
ls -l
rm -rf ${{env.PROG}}/.git*
ls -l
tar cvzf ${{env.PROG}}-${{github.ref_name}}-src.tar.gz ${{env.PROG}}
- name: Save source artifact
uses: actions/upload-artifact@v4
with:
name: ${{env.PROG}}-${{github.ref_name}}-src.tar.gz
path: ${{env.PROG}}-${{github.ref_name}}-src.tar.gz
path: ${{env.SOURCE_DIR}}/../${{env.PROG}}-${{github.ref_name}}-src.tar.gz


0 comments on commit 2a5cf8e

Please sign in to comment.