workflows: Fix build

Artifact merging stuff is inevitable now
This commit is contained in:
RichardG867
2025-04-14 21:46:38 -03:00
parent 4e048a81cf
commit eb1193711b

View File

@@ -75,9 +75,9 @@ jobs:
run: |
cd ${{ github.workspace }}/usblgoff
wmake
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: probing-tools-${{ github.sha }}
name: probing-tools-${{ github.sha }}-${{ github.job }}
path: |
**/*.EXE
**/*.EFI
@@ -118,11 +118,25 @@ jobs:
run: |
cd ${{ github.workspace }}/viakey
./build.bat VIAKEY
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: probing-tools-${{ github.sha }}
name: probing-tools-${{ github.sha }}-${{ github.job }}
path: |
**/*.COM
amikey/*.md
multikey/*.md
viakey/*.md
merge:
name: Artifacts
runs-on: ubuntu-latest
needs: [make, newbasic]
steps:
- name: Merge artifacts
uses: actions/upload-artifact/merge@v4
with:
name: probing-tools-${{ github.sha }}
pattern: probing-tools-${{ github.sha }}-*
delete-merged: true