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 26
26
- os : ubuntu-latest
27
27
rid : android-arm64-v8a
28
28
steps :
29
- - uses : actions/checkout@v3
30
- - uses : actions/setup-dotnet@v1
29
+ - uses : actions/checkout@v4
30
+ - uses : actions/setup-dotnet@v4
31
31
with :
32
32
dotnet-version : ' 3.1.x'
33
33
- name : Build
41
41
- run : |
42
42
mkdir tmp
43
43
cp -r VisualPinball.Engine.PinMAME.Unity/Plugins/${{ matrix.rid }} tmp
44
- - uses : actions/upload-artifact@v3
44
+ - uses : actions/upload-artifact@v4
45
45
with :
46
46
name : Plugins
47
47
path : tmp
51
51
needs : [ build ]
52
52
if : github.repository == 'VisualPinball/VisualPinball.Engine.PinMAME' && github.ref == 'refs/heads/master' && github.event_name == 'push'
53
53
steps :
54
- - uses : peter-evans/repository-dispatch@v1
54
+ - uses : peter-evans/repository-dispatch@v3
55
55
with :
56
56
token : ${{ secrets.GH_PAT }}
57
57
event-type : build-complete
Original file line number Diff line number Diff line change 4
4
types : [ release-complete ]
5
5
6
6
jobs :
7
- registry :
7
+ publish- registry :
8
8
runs-on : ubuntu-latest
9
9
steps :
10
- - uses : actions/checkout@v3
11
- - uses : dawidd6/action- download-artifact@v2
10
+ - uses : actions/checkout@v4
11
+ - uses : actions/ download-artifact@v4
12
12
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 }}
15
16
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'
16
21
- 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
21
23
env :
22
- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
24
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 7
7
release :
8
8
runs-on : ubuntu-latest
9
9
steps :
10
- - uses : actions/checkout@v3
10
+ - uses : actions/checkout@v4
11
11
with :
12
12
fetch-depth : 0
13
13
- name : Fetch next version
31
31
git commit -m "release: ${{ steps.nextVersion.outputs.nextTag }}."
32
32
git push
33
33
commitish=$(git rev-parse HEAD)
34
- echo ::set-output name= commitish:: ${commitish}
34
+ echo " commitish= ${commitish}" >> $GITHUB_OUTPUT
35
35
env :
36
36
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
37
37
- name : Create Release
48
48
runs-on : ubuntu-latest
49
49
needs : [ release ]
50
50
steps :
51
- - uses : peter-evans/repository-dispatch@v1
51
+ - uses : peter-evans/repository-dispatch@v3
52
52
with :
53
53
token : ${{ secrets.GH_PAT }}
54
54
event-type : release-complete
You can’t perform that action at this time.
0 commit comments