File tree Expand file tree Collapse file tree 3 files changed +19
-17
lines changed
Expand file tree Collapse file tree 3 files changed +19
-17
lines changed Original file line number Diff line number Diff line change 2626 - os : ubuntu-latest
2727 rid : android-arm64-v8a
2828 steps :
29- - uses : actions/checkout@v3
30- - uses : actions/setup-dotnet@v1
29+ - uses : actions/checkout@v4
30+ - uses : actions/setup-dotnet@v4
3131 with :
3232 dotnet-version : ' 3.1.x'
3333 - name : Build
4141 - run : |
4242 mkdir tmp
4343 cp -r VisualPinball.Engine.PinMAME.Unity/Plugins/${{ matrix.rid }} tmp
44- - uses : actions/upload-artifact@v3
44+ - uses : actions/upload-artifact@v4
4545 with :
4646 name : Plugins
4747 path : tmp
5151 needs : [ build ]
5252 if : github.repository == 'VisualPinball/VisualPinball.Engine.PinMAME' && github.ref == 'refs/heads/master' && github.event_name == 'push'
5353 steps :
54- - uses : peter-evans/repository-dispatch@v1
54+ - uses : peter-evans/repository-dispatch@v3
5555 with :
5656 token : ${{ secrets.GH_PAT }}
5757 event-type : build-complete
Original file line number Diff line number Diff line change 44 types : [ release-complete ]
55
66jobs :
7- registry :
7+ publish- registry :
88 runs-on : ubuntu-latest
99 steps :
10- - uses : actions/checkout@v3
11- - uses : dawidd6/action- download-artifact@v2
10+ - uses : actions/checkout@v4
11+ - uses : actions/ download-artifact@v4
1212 with :
13- workflow : build
14- run_id : ${{ github.event.client_payload.artifacts_run_id }}
13+ merge-multiple : true
14+ github-token : ${{ secrets.GITHUB_TOKEN }}
15+ run-id : ${{ github.event.client_payload.artifacts_run_id }}
1516 path : VisualPinball.Engine.PinMAME.Unity
17+ - uses : actions/setup-node@v4
18+ with :
19+ node-version : ' 20.x'
20+ registry-url : ' https://registry.visualpinball.org'
1621 - name : Publish
17- run : |
18- cd VisualPinball.Engine.PinMAME.Unity
19- echo "//registry.visualpinball.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
20- npm publish
22+ run : npm publish
2123 env :
22- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
24+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 77 release :
88 runs-on : ubuntu-latest
99 steps :
10- - uses : actions/checkout@v3
10+ - uses : actions/checkout@v4
1111 with :
1212 fetch-depth : 0
1313 - name : Fetch next version
3131 git commit -m "release: ${{ steps.nextVersion.outputs.nextTag }}."
3232 git push
3333 commitish=$(git rev-parse HEAD)
34- echo ::set-output name= commitish:: ${commitish}
34+ echo " commitish= ${commitish}" >> $GITHUB_OUTPUT
3535 env :
3636 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3737 - name : Create Release
4848 runs-on : ubuntu-latest
4949 needs : [ release ]
5050 steps :
51- - uses : peter-evans/repository-dispatch@v1
51+ - uses : peter-evans/repository-dispatch@v3
5252 with :
5353 token : ${{ secrets.GH_PAT }}
5454 event-type : release-complete
You can’t perform that action at this time.
0 commit comments