diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml
index d9da9dad0..02b59c443 100644
--- a/.github/workflows/pipeline.yml
+++ b/.github/workflows/pipeline.yml
@@ -24,7 +24,7 @@ jobs:
os: [{name: 'Ubuntu', runtime: 'linux-x64'}, {name: 'Windows', runtime: 'win-x64'}]
dotnet: [{framework: 'net6.0', version: '6.0.0'}, {framework: 'net7.0', version: '7.0.0'}]
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- name: Build ${{ matrix.os.name }}-dotnet ${{ matrix.dotnet }} binaries
run: |
sed -i '\|net6.0;net7.0|a\ ${{ matrix.dotnet.version }}' ./MBINCompiler/MBINCompiler.csproj
@@ -42,7 +42,7 @@ jobs:
cp Build/Release/${{ matrix.dotnet.framework }}/${{ matrix.os.runtime }}/publish/libMBIN.dll libMBIN.dll
if: ${{matrix.os.name == 'Ubuntu' }}
- name: Set up Python 3.9
- uses: actions/setup-python@v4
+ uses: actions/setup-python@v5
with:
python-version: "3.9"
- name: Install dependencies
@@ -52,7 +52,7 @@ jobs:
- name: Run tests
run: python -m pytest --mbincompiler_path="./MBINCompiler.exe" --tb=no --report
- name: Upload Windows binaries
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: MBINCompiler-${{ matrix.os.name }}-${{ matrix.dotnet.framework }}
path: |
@@ -60,7 +60,7 @@ jobs:
libMBIN.dll
if: ${{matrix.os.name == 'Windows' }}
- name: Upload Linux binaries
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: MBINCompiler-${{ matrix.os.name }}-${{ matrix.dotnet.framework }}
path: |
@@ -69,7 +69,7 @@ jobs:
libMBIN.dll
if: ${{matrix.os.name == 'Ubuntu' }}
- name: Upload report
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: MBINCompiler-report
path: report.json
@@ -78,14 +78,14 @@ jobs:
name: Build save file mapping and generate mapping
runs-on: Windows-latest
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- name: Build SaveFileMapping binary
run: dotnet publish SaveFileMapping -c Release -f net6.0 -r win-x64 -o Build/Release/net6/ /nowarn:cs0618
- name: Generate save data mapping
run : Build/Release/net6/SaveFileMapping.exe
shell: bash
- name: Upload report
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: savedata-mapping
path: mapping.json
@@ -97,7 +97,7 @@ jobs:
needs: [build_test, save_mapping]
steps:
- name: Download files for release
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
- name: Rename files for release
run: |
mv MBINCompiler-Windows-net6.0/MBINCompiler.exe MBINCompiler.exe