add configuration suffixes to tar files
Some checks failed
/ release (1.85.0, Debug, map[name:macos path-separator:: scons-script:./.github/workflows/scripts/mac/scons-build.sh version:12], 2.6.1) (push) Has been cancelled
/ release (1.85.0, Debug, map[name:ubuntu path-separator:: scons-script:scons version:22.04], 2.6.1) (push) Failing after 1m47s
/ release (1.85.0, Debug, map[name:windows path-separator:; scons-script:./.github/workflows/scripts/win/scons-build.bat version:2019], 2.6.1) (push) Has been cancelled
/ release (1.85.0, Release, map[name:macos path-separator:: scons-script:./.github/workflows/scripts/mac/scons-build.sh version:12], 2.6.1) (push) Has been cancelled
/ release (1.85.0, Release, map[name:ubuntu path-separator:: scons-script:scons version:22.04], 2.6.1) (push) Failing after 1m44s
/ release (1.85.0, Release, map[name:windows path-separator:; scons-script:./.github/workflows/scripts/win/scons-build.bat version:2019], 2.6.1) (push) Has been cancelled

This commit is contained in:
2024-08-10 19:34:21 -05:00
parent 1f06823b3b
commit aa04c0421e

View File

@@ -118,19 +118,19 @@ jobs:
run: './.github/workflows/scripts/mac/sign-apps.sh'
if: ${{ matrix.os.name == 'macos' }}
- name: 'Tar files'
run: 'tar -cvf cboe-${{ matrix.os.name }}.tar "Blades of Exile"'
run: 'tar -cvf cboe-${{ matrix.os.name }}-${{ matrix.configuration }}.tar "Blades of Exile"'
working-directory: '${{ github.workspace }}/build'
- name: 'Upload Artifact'
uses: actions/upload-artifact@v4
with:
name: cboe-${{ matrix.os.name }}-${{ matrix.configuration }}
path: '${{ github.workspace }}/build/cboe-${{ matrix.os.name }}.tar'
path: '${{ github.workspace }}/build/cboe-${{ matrix.os.name }-${{ matrix.configuration }}}.tar'
- name: Github release
uses: softprops/action-gh-release@v2
with:
files: '${{ github.workspace }}/build/cboe-${{ matrix.os.name }}.tar'
if: startsWith(github.ref, 'refs/tags/')
files: '${{ github.workspace }}/build/cboe-${{ matrix.os.name }-${{ matrix.configuration }}}.tar'
if: ${{ startsWith(github.ref, 'refs/tags/') }}
- name: 'Itch.io release'
run: './.github/workflows/scripts/butler_push.sh'
shell: bash
if: startsWith(github.ref, 'refs/tags/')
if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.configuration == 'Release' }}