mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 12:21:35 +00:00
actions: archive and attest package files sooner so they're available for debugging
This commit is contained in:
40
.github/workflows/build.yml
vendored
40
.github/workflows/build.yml
vendored
@@ -628,7 +628,7 @@ jobs:
|
|||||||
echo "GAM Version ${GAMVERSION}"
|
echo "GAM Version ${GAMVERSION}"
|
||||||
echo "GAMVERSION=${GAMVERSION}" >> $GITHUB_ENV
|
echo "GAMVERSION=${GAMVERSION}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Attest Binary Provenance
|
- name: Attest gam executable was generated from this Action
|
||||||
uses: actions/attest-build-provenance@v1
|
uses: actions/attest-build-provenance@v1
|
||||||
if: matrix.goal == 'build'
|
if: matrix.goal == 'build'
|
||||||
with:
|
with:
|
||||||
@@ -665,6 +665,25 @@ jobs:
|
|||||||
#/c/Program\ Files\ \(x86\)/WiX\ Toolset\ v3.14/bin/light.exe -ext /c/Program\ Files\ \(x86\)/WiX\ Toolset\ v3.14/bin/WixUIExtension.dll gam.wixobj -o "gam-${GAMVERSION}-windows-${GAM_ARCHIVE_ARCH}.msi" || true;
|
#/c/Program\ Files\ \(x86\)/WiX\ Toolset\ v3.14/bin/light.exe -ext /c/Program\ Files\ \(x86\)/WiX\ Toolset\ v3.14/bin/WixUIExtension.dll gam.wixobj -o "gam-${GAMVERSION}-windows-${GAM_ARCHIVE_ARCH}.msi" || true;
|
||||||
#rm -v -f *.wixpdb
|
#rm -v -f *.wixpdb
|
||||||
|
|
||||||
|
- name: Attest that gam package files were generated from this Action
|
||||||
|
uses: actions/attest-build-provenance@v1
|
||||||
|
if: (github.event_name == 'push' || github.event_name == 'schedule') && matrix.goal == 'build'
|
||||||
|
with:
|
||||||
|
subject-path: |
|
||||||
|
src/gam*.tar.xz
|
||||||
|
src/gam*.zip
|
||||||
|
src/gam*.msi
|
||||||
|
|
||||||
|
- name: Archive production artifacts
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
if: (github.event_name == 'push' || github.event_name == 'schedule') && matrix.goal != 'test'
|
||||||
|
with:
|
||||||
|
name: gam-binaries-${{ env.GAMOS }}-${{ env.arch }}-${{ matrix.jid }}
|
||||||
|
path: |
|
||||||
|
src/gam*.tar.xz
|
||||||
|
src/gam*.zip
|
||||||
|
src/gam*.msi
|
||||||
|
|
||||||
- name: Basic Tests build jobs only
|
- name: Basic Tests build jobs only
|
||||||
if: matrix.goal != 'test' && steps.cache-python-ssl.outputs.cache-hit != 'true'
|
if: matrix.goal != 'test' && steps.cache-python-ssl.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
@@ -899,25 +918,6 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
tar cJvvf cache.tar.xz $tar_folders
|
tar cJvvf cache.tar.xz $tar_folders
|
||||||
|
|
||||||
- name: Attest Build Archive Provenance
|
|
||||||
uses: actions/attest-build-provenance@v1
|
|
||||||
if: (github.event_name == 'push' || github.event_name == 'schedule') && matrix.goal == 'build'
|
|
||||||
with:
|
|
||||||
subject-path: |
|
|
||||||
src/gam*.tar.xz
|
|
||||||
src/gam*.zip
|
|
||||||
src/gam*.msi
|
|
||||||
|
|
||||||
- name: Archive production artifacts
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
if: (github.event_name == 'push' || github.event_name == 'schedule') && matrix.goal != 'test'
|
|
||||||
with:
|
|
||||||
name: gam-binaries-${{ env.GAMOS }}-${{ env.arch }}-${{ matrix.jid }}
|
|
||||||
path: |
|
|
||||||
src/gam*.tar.xz
|
|
||||||
src/gam*.zip
|
|
||||||
src/gam*.msi
|
|
||||||
|
|
||||||
merge:
|
merge:
|
||||||
if: (github.event_name == 'push' || github.event_name == 'schedule')
|
if: (github.event_name == 'push' || github.event_name == 'schedule')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user