99 release_name : ${{ steps.get-version.outputs.release_name }}
1010 steps :
1111 - uses : actions/checkout@master
12- - uses : actions/setup-dotnet@v1
12+ - uses : actions/setup-dotnet@v5
1313 with :
1414 dotnet-version : ' 8.0.x'
1515
@@ -32,18 +32,18 @@ jobs:
3232 - run : cd /tmp/out-linux/ && zip -r /tmp/zips/replanetizer-${{steps.get-version.outputs.release_name}}-linux-x64.zip replanetizer
3333 name : Zip up Replanetizer for Linux
3434
35- - uses : actions/upload-artifact@v4
35+ - uses : actions/upload-artifact@v7
3636 name : Upload zips to GitHub actions artifact storage
3737 with :
3838 name : replanetizer-${{steps.get-version.outputs.release_name}}-linux-x64.zip
3939 path : /tmp/zips/replanetizer-${{steps.get-version.outputs.release_name}}-linux-x64.zip
4040
4141 build_windows :
42- runs-on : windows-2025
42+ runs-on : windows-2025-vs2026
4343 needs : [build_linux]
4444 steps :
4545 - uses : actions/checkout@master
46- - uses : actions/setup-dotnet@v1
46+ - uses : actions/setup-dotnet@v5
4747 with :
4848 dotnet-version : ' 8.0.x'
4949
@@ -62,18 +62,18 @@ jobs:
6262 - run : Compress-Archive -Path /tmp/out-win/replanetizer -DestinationPath /tmp/zips/replanetizer-${{needs.build_linux.outputs.release_name}}-win-x64.zip
6363 name : Zip up Replanetizer for Windows
6464
65- - uses : actions/upload-artifact@v4
65+ - uses : actions/upload-artifact@v7
6666 name : Upload zips to GitHub actions artifact storage
6767 with :
6868 name : replanetizer-${{needs.build_linux.outputs.release_name}}-win-x64.zip
6969 path : /tmp/zips/replanetizer-${{needs.build_linux.outputs.release_name}}-win-x64.zip
7070
7171 build_macos :
72- runs-on : macos-15
72+ runs-on : macos-26
7373 needs : [build_linux]
7474 steps :
7575 - uses : actions/checkout@master
76- - uses : actions/setup-dotnet@v1
76+ - uses : actions/setup-dotnet@v5
7777 with :
7878 dotnet-version : ' 8.0.x'
7979
9292 - run : cd /tmp/out-osx/ && zip -r /tmp/zips/replanetizer-${{needs.build_linux.outputs.release_name}}-osx-x64.zip replanetizer
9393 name : Zip up Replanetizer for Mac
9494
95- - uses : actions/upload-artifact@v4
95+ - uses : actions/upload-artifact@v7
9696 name : Upload zips to GitHub actions artifact storage
9797 with :
9898 name : replanetizer-${{needs.build_linux.outputs.release_name}}-osx-x64.zip
@@ -104,51 +104,21 @@ jobs:
104104 if : github.ref == 'refs/heads/master'
105105 steps :
106106 - name : Download all workflow run artifacts
107- uses : actions/download-artifact@v4
107+ uses : actions/download-artifact@v7
108108 with :
109109 path : ./
110110
111111 - name : Create Release
112- id : create_release
113112 if : github.ref == 'refs/heads/master'
114- uses : actions/create- release@master
113+ uses : softprops/action-gh- release@v2
115114 env :
116115 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
117116 with :
118117 tag_name : ${{needs.build_linux.outputs.release_name}}
119- release_name : v${{needs.build_linux.outputs.release_name}}
118+ name : v${{needs.build_linux.outputs.release_name}}
120119 draft : false
121120 prerelease : false
122-
123- - name : Upload Release Asset Linux
124- if : github.ref == 'refs/heads/master'
125- uses : actions/upload-release-asset@v1.0.1
126- env :
127- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
128- with :
129- upload_url : ${{ steps.create_release.outputs.upload_url }}
130- asset_name : replanetizer-${{needs.build_linux.outputs.release_name}}-linux-x64.zip
131- asset_path : replanetizer-${{needs.build_linux.outputs.release_name}}-linux-x64.zip/replanetizer-${{needs.build_linux.outputs.release_name}}-linux-x64.zip
132- asset_content_type : application/zip
133-
134- - name : Upload Release Asset Windows
135- if : github.ref == 'refs/heads/master'
136- uses : actions/upload-release-asset@v1.0.1
137- env :
138- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
139- with :
140- upload_url : ${{ steps.create_release.outputs.upload_url }}
141- asset_name : replanetizer-${{needs.build_linux.outputs.release_name}}-win-x64.zip
142- asset_path : replanetizer-${{needs.build_linux.outputs.release_name}}-win-x64.zip/replanetizer-${{needs.build_linux.outputs.release_name}}-win-x64.zip
143- asset_content_type : application/zip
144-
145- - name : Upload Release Asset macOS
146- if : github.ref == 'refs/heads/master'
147- uses : actions/upload-release-asset@v1.0.1
148- env :
149- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
150- with :
151- upload_url : ${{ steps.create_release.outputs.upload_url }}
152- asset_name : replanetizer-${{needs.build_linux.outputs.release_name}}-osx-x64.zip
153- asset_path : replanetizer-${{needs.build_linux.outputs.release_name}}-osx-x64.zip/replanetizer-${{needs.build_linux.outputs.release_name}}-osx-x64.zip
154- asset_content_type : application/zip
121+ files : |
122+ replanetizer-${{needs.build_linux.outputs.release_name}}-linux-x64.zip/replanetizer-${{needs.build_linux.outputs.release_name}}-linux-x64.zip
123+ replanetizer-${{needs.build_linux.outputs.release_name}}-win-x64.zip/replanetizer-${{needs.build_linux.outputs.release_name}}-win-x64.zip
124+ replanetizer-${{needs.build_linux.outputs.release_name}}-osx-x64.zip/replanetizer-${{needs.build_linux.outputs.release_name}}-osx-x64.zip
0 commit comments