Fix source tar 3

This commit is contained in:
Cubitect 2024-02-01 22:31:19 +01:00
parent 2a5cf8e54b
commit 00cb6b2844

View File

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