Upload snapshot ZIP files as artifacts directly
This commit is contained in:
parent
abe77409b5
commit
23f0ece561
|
@ -35,6 +35,7 @@ jobs:
|
|||
path: bin
|
||||
if-no-files-found: error
|
||||
include-hidden-files: true
|
||||
retention-days: 1
|
||||
|
||||
package:
|
||||
needs: cmake
|
||||
|
@ -57,20 +58,13 @@ jobs:
|
|||
name: build-x86
|
||||
path: bin
|
||||
|
||||
- name: Upload Artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: bin-${{ github.sha}}
|
||||
path: bin
|
||||
if-no-files-found: error
|
||||
include-hidden-files: true
|
||||
|
||||
- name: Create snapshot
|
||||
run: |
|
||||
curl.exe -L https://github.com/x64dbg/translations/releases/download/translations/qm.zip -o bin\qm.zip
|
||||
7z x bin\qm.zip -obin
|
||||
cmake -P .\cmake\release.cmake
|
||||
$timestamp = Get-Date -Format "yyyy-MM-dd_HH_mm"
|
||||
echo "timestamp=$timestamp" >> $env:GITHUB_ENV
|
||||
cd release
|
||||
7z a -tzip -mx=9 ..\snapshot_$timestamp.zip pluginsdk release commithash.txt
|
||||
7z a -tzip -mx=9 ..\symbols-snapshot_$timestamp.zip pdb commithash.txt
|
||||
|
@ -78,7 +72,22 @@ jobs:
|
|||
- name: Upload Artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: x64dbg-${{ github.sha}}
|
||||
path: '*.zip'
|
||||
name: snapshot_${{ env.timestamp }}.zip
|
||||
path: |
|
||||
release/pluginsdk
|
||||
release/release
|
||||
release/commithash.txt
|
||||
if-no-files-found: error
|
||||
include-hidden-files: true
|
||||
compression-level: 9
|
||||
|
||||
- name: Upload Artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: symbols-snapshot_${{ env.timestamp }}.zip
|
||||
path: |
|
||||
release/pdb
|
||||
release/commithash.txt
|
||||
if-no-files-found: error
|
||||
include-hidden-files: true
|
||||
compression-level: 9
|
||||
|
|
Loading…
Reference in New Issue