Skip to content

Commit

Permalink
ci: upgrade upload-artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
zyr17 committed Oct 5, 2024
1 parent 6d780a8 commit 8c64150
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/debugci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ jobs:
mv result MajsoulPaipuAnalyzer-win-x64
- name: archive
run: 7z a MajsoulPaipuAnalyzer-win-x64.7z MajsoulPaipuAnalyzer-win-x64 -m0=LZMA2 -mmt
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: MajsoulPaipuAnalyzer-win-x64.7z
path: MajsoulPaipuAnalyzer-win-x64.7z
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: PaipuAnalyzer.exe
path: bin/debug/PaipuAnalyzer.exe
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,17 @@ jobs:
mv result MajsoulPaipuAnalyzer-linux-x64
- name: archive
run: 7z a MajsoulPaipuAnalyzer-linux-x64.7z MajsoulPaipuAnalyzer-linux-x64 -m0=LZMA2 -mmt
# - uses: actions/upload-artifact@v2
# - uses: actions/upload-artifact@v4
# with:
# name: MajsoulPaipuAnalyzer-linux-x64.7z
# path: MajsoulPaipuAnalyzer-linux-x64.7z
# - name: fake artifact
# run: mv result.html MajsoulPaipuAnalyzer-linux-x64.7z
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: MajsoulPaipuAnalyzer-linux-x64.7z
path: MajsoulPaipuAnalyzer-linux-x64.7z
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: PaipuAnalyzer
path: bin/release/PaipuAnalyzer
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ jobs:
brew install p7zip
7z a MajsoulPaipuAnalyzer-macos.7z MajsoulPaipuAnalyzer-macos -m0=LZMA2 -mmt
7z a PaipuAnalyzer.zip PaipuAnalyzer
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: MajsoulPaipuAnalyzer-macos.7z
path: MajsoulPaipuAnalyzer-macos.7z
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: PaipuAnalyzer
path: PaipuAnalyzer.zip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tenhoutest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
mv result MajsoulPaipuAnalyzer-win-x64
- name: archive
run: 7z a MajsoulPaipuAnalyzer-win-x64.7z MajsoulPaipuAnalyzer-win-x64 -m0=LZMA2 -mmt
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: MajsoulPaipuAnalyzer-win-x64.7z
path: MajsoulPaipuAnalyzer-win-x64.7z
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_macos_PA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
run: |
brew install p7zip
7z a PaipuAnalyzer.zip PaipuAnalyzer
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: PaipuAnalyzer
path: PaipuAnalyzer.zip
4 changes: 2 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ jobs:
mv result MajsoulPaipuAnalyzer-win-x64
- name: archive
run: 7z a MajsoulPaipuAnalyzer-win-x64.7z MajsoulPaipuAnalyzer-win-x64 -m0=LZMA2 -mmt
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: MajsoulPaipuAnalyzer-win-x64.7z
path: MajsoulPaipuAnalyzer-win-x64.7z
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: PaipuAnalyzer
path: bin/release/PaipuAnalyzer.exe
Expand Down

0 comments on commit 8c64150

Please sign in to comment.