@@ -16,14 +16,14 @@ jobs:
16
16
# well on Windows or Mac. You can convert this to a matrix build if you need
17
17
# cross-platform coverage.
18
18
# See: https://docs.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow#configuring-a-build-matrix
19
- runs-on : ubuntu-20 .04
19
+ runs-on : ubuntu-22 .04
20
20
21
21
strategy :
22
22
matrix :
23
23
targ : [raspi, pistorm, pistorm32lite]
24
24
25
25
steps :
26
- - uses : actions/checkout@v2
26
+ - uses : actions/checkout@v4
27
27
with :
28
28
submodules : ' true'
29
29
@@ -96,14 +96,14 @@ jobs:
96
96
run : zip -r ./Emu68-${{matrix.targ}}.zip .
97
97
98
98
- name : Upload Artifact
99
- uses : actions/upload-artifact@v2
99
+ uses : actions/upload-artifact@v3
100
100
with :
101
101
name : emu68-archive
102
102
path : ${{runner.workspace}}/install/Emu68-${{matrix.targ}}.zip
103
103
retention-days : 5
104
104
105
105
deploy :
106
- runs-on : ubuntu-20 .04
106
+ runs-on : ubuntu-22 .04
107
107
needs : build
108
108
109
109
strategy :
@@ -112,14 +112,14 @@ jobs:
112
112
113
113
steps :
114
114
- name : Download Artifact
115
- uses : actions/download-artifact@v2
115
+ uses : actions/download-artifact@v3
116
116
with :
117
117
name : emu68-archive
118
118
path : ${{runner.workspace}}/uploads
119
119
120
120
- name : Deploy Raspi release
121
121
id : deploy
122
- uses : WebFreak001/deploy-nightly@v1.1 .0
122
+ uses : WebFreak001/deploy-nightly@v2.0 .0
123
123
env :
124
124
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # automatically provided by github actions
125
125
with :
@@ -134,8 +134,8 @@ jobs:
134
134
id : vars
135
135
shell : bash
136
136
run : |
137
- echo "::set-output name= build_date:: $(date +"%Y%m%d")"
138
- echo "::set-output name= sha_short:: ${GITHUB_SHA::6}"
137
+ echo "build_date= $(date +"%Y%m%d")" >> $GITHUB_OUTPUT
138
+ echo "sha_short= ${GITHUB_SHA::6}" >> $GITHUB_OUTPUT
139
139
140
140
- name : Webhook
141
141
if : ${{ (matrix.targ == 'pistorm' || matrix.targ == 'pistorm32lite') && steps.deploy.outputs.uploaded == 'yes' }}
0 commit comments