attempt 3 to fix release script

This commit is contained in:
otavepto 2024-06-02 21:47:37 +03:00
parent d769cbe419
commit fb63726a42

View File

@ -84,13 +84,22 @@ jobs:
with: with:
files: "build/package/win/**/*" files: "build/package/win/**/*"
### upload artifact/package if this is a manual run ### upload artifacts/packages if this is a manual run
- name: Upload release package - name: Upload release package
if: ${{ !startsWith(github.ref, 'refs/tags/') }} if: ${{ !startsWith(github.ref, 'refs/tags/') }}
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: "release-emu-win-${{ github.sha }}" name: "release-emu-win-${{ github.sha }}"
path: "build/package/win/**/*" path: "build/package/win/**/release*"
if-no-files-found: 'error'
compression-level: 9
retention-days: 1
- name: Upload release package
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
uses: actions/upload-artifact@v4
with:
name: "release-emu-win-${{ github.sha }}"
path: "build/package/win/**/debug*"
if-no-files-found: 'error' if-no-files-found: 'error'
compression-level: 9 compression-level: 9
retention-days: 1 retention-days: 1
@ -165,13 +174,22 @@ jobs:
with: with:
files: "build/package/linux/**/*" files: "build/package/linux/**/*"
### upload artifact/package if this is a manual run ### upload artifacts/packages if this is a manual run
- name: Upload release package - name: Upload release package
if: ${{ !startsWith(github.ref, 'refs/tags/') }} if: ${{ !startsWith(github.ref, 'refs/tags/') }}
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: "release-emu-linux-${{ github.sha }}" name: "release-emu-linux-${{ github.sha }}"
path: "build/package/linux/**/*" path: "build/package/linux/**/release*"
if-no-files-found: 'error'
compression-level: 9
retention-days: 1
- name: Upload release package
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
uses: actions/upload-artifact@v4
with:
name: "release-emu-linux-${{ github.sha }}"
path: "build/package/linux/**/debug*"
if-no-files-found: 'error' if-no-files-found: 'error'
compression-level: 9 compression-level: 9
retention-days: 1 retention-days: 1