Update release.yml

This commit is contained in:
Peter Dimov 2022-11-13 00:19:34 +02:00
parent a924af5250
commit fb2e07d11c

View file

@ -19,11 +19,11 @@ jobs:
cd ..
cp -a ${{ github.event.repository.name }} ${{ github.ref_name }}
rm -rf ${{ github.ref_name }}/.git
zip -q ${{ github.event.repository.name }}-${{ github.ref_name }}.zip -r ${{ github.ref_name }}
tar -czf ${{ github.event.repository.name }}-${{ github.ref_name }}.tar.gz ${{ github.ref_name }}
zip -q ${{ github.ref_name }}.zip -r ${{ github.ref_name }}
tar -czf ${{ github.ref_name }}.tar.gz ${{ github.ref_name }}
- uses: softprops/action-gh-release@v1
with:
files: |
../${{ github.event.repository.name }}-${{ github.ref_name }}.zip
../${{ github.event.repository.name }}-${{ github.ref_name }}.tar.gz
../${{ github.ref_name }}.zip
../${{ github.ref_name }}.tar.gz