File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,28 +11,28 @@ jobs:
1111 runs-on : ubuntu-latest
1212
1313 steps :
14- - uses : actions/checkout@v2
14+ - uses : actions/checkout@v4
1515
1616 - name : Setup .NET
17- uses : actions/setup-dotnet@v1
17+ uses : actions/setup-dotnet@v4
1818 with :
19- dotnet-version : 6.0.202
19+ global-json-file : global.json
2020
2121 - name : Extract Release Version
2222 id : get_version
2323 shell : bash
2424 run : |
2525 if [ "${GITHUB_REF#refs/tags/v}" != "$GITHUB_REF" ]; then
26- echo ::set-output name= version:: ${GITHUB_REF#refs/tags/v}
26+ echo " version= ${GITHUB_REF#refs/tags/v}" >> "$GITHUB_OUTPUT"
2727 else
28- echo ::set-output name= build_tag:: ci.${GITHUB_RUN_NUMBER}
28+ echo " build_tag= ci.${GITHUB_RUN_NUMBER}" >> "$GITHUB_OUTPUT"
2929 fi
3030
3131 - name : Build
3232 run : ./build.sh --target=Pack --build_version ${{ steps.get_version.outputs.version }} --build_tag ${{ steps.get_version.outputs.build_tag }}
3333
3434 - name : Upload artifact
35- uses : actions/upload-artifact@v3
35+ uses : actions/upload-artifact@v4
3636 with :
3737 path : ./bin/zip/*.zip
3838 name : Il2CppInterop
5050 dotnet nuget push --skip-duplicate -s "$push_source" -k "$push_api_key" ./bin/NuGet/*.nupkg
5151
5252 - name : Publish a release
53- uses : softprops/action-gh-release@v1
53+ uses : softprops/action-gh-release@v2
5454 if : startsWith(github.ref, 'refs/tags/')
5555 with :
5656 files : ./bin/zip/*.zip
Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ jobs:
1111 runs-on : ubuntu-latest
1212
1313 steps :
14- - uses : actions/checkout@v2
14+ - uses : actions/checkout@v4
1515
1616 - name : Setup .NET
17- uses : actions/setup-dotnet@v1
17+ uses : actions/setup-dotnet@v4
1818 with :
19- dotnet-version : 6.0.202
19+ global-json-file : global.json
2020
2121 - name : Check format
2222 run : |
Original file line number Diff line number Diff line change 1+ {
2+ "sdk" : {
3+ "version" : " 8.0.0" ,
4+ "rollForward" : " latestFeature"
5+ }
6+ }
You can’t perform that action at this time.
0 commit comments