Skip to content

Commit 947ce0f

Browse files
authored
Merge pull request #247 from MBeijer/patch/fix-github-actions
Update github actions
2 parents e78e0eb + 31f5f1f commit 947ce0f

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

.github/workflows/cmake.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ jobs:
1212
# well on Windows or Mac. You can convert this to a matrix build if you need
1313
# cross-platform coverage.
1414
# See: https://docs.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow#configuring-a-build-matrix
15-
runs-on: ubuntu-20.04
15+
runs-on: ubuntu-22.04
1616

1717
strategy:
1818
matrix:
1919
targ: [raspi, pistorm, pistorm32lite]
2020

2121
steps:
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v4
2323
with:
2424
submodules: 'true'
2525

@@ -92,14 +92,14 @@ jobs:
9292
run: zip -r ./Emu68-${{matrix.targ}}.zip .
9393

9494
- name: Upload Artifact
95-
uses: actions/upload-artifact@v2
95+
uses: actions/upload-artifact@v3
9696
with:
9797
name: emu68-archive
9898
path: ${{runner.workspace}}/install/Emu68-${{matrix.targ}}.zip
9999
retention-days: 5
100100

101101
deploy:
102-
runs-on: ubuntu-20.04
102+
runs-on: ubuntu-22.04
103103
needs: build
104104

105105
strategy:
@@ -108,7 +108,7 @@ jobs:
108108

109109
steps:
110110
- name: Download Artifact
111-
uses: actions/download-artifact@v2
111+
uses: actions/download-artifact@v3
112112
with:
113113
name: emu68-archive
114114
path: ${{runner.workspace}}/uploads

.github/workflows/nightly.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ jobs:
1616
# well on Windows or Mac. You can convert this to a matrix build if you need
1717
# cross-platform coverage.
1818
# 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
2020

2121
strategy:
2222
matrix:
2323
targ: [raspi, pistorm, pistorm32lite]
2424

2525
steps:
26-
- uses: actions/checkout@v2
26+
- uses: actions/checkout@v4
2727
with:
2828
submodules: 'true'
2929

@@ -96,14 +96,14 @@ jobs:
9696
run: zip -r ./Emu68-${{matrix.targ}}.zip .
9797

9898
- name: Upload Artifact
99-
uses: actions/upload-artifact@v2
99+
uses: actions/upload-artifact@v3
100100
with:
101101
name: emu68-archive
102102
path: ${{runner.workspace}}/install/Emu68-${{matrix.targ}}.zip
103103
retention-days: 5
104104

105105
deploy:
106-
runs-on: ubuntu-20.04
106+
runs-on: ubuntu-22.04
107107
needs: build
108108

109109
strategy:
@@ -112,14 +112,14 @@ jobs:
112112

113113
steps:
114114
- name: Download Artifact
115-
uses: actions/download-artifact@v2
115+
uses: actions/download-artifact@v3
116116
with:
117117
name: emu68-archive
118118
path: ${{runner.workspace}}/uploads
119119

120120
- name: Deploy Raspi release
121121
id: deploy
122-
uses: WebFreak001/deploy-nightly@v1.1.0
122+
uses: WebFreak001/deploy-nightly@v2.0.0
123123
env:
124124
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # automatically provided by github actions
125125
with:
@@ -134,8 +134,8 @@ jobs:
134134
id: vars
135135
shell: bash
136136
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
139139
140140
- name: Webhook
141141
if: ${{ (matrix.targ == 'pistorm' || matrix.targ == 'pistorm32lite') && steps.deploy.outputs.uploaded == 'yes' }}

0 commit comments

Comments
 (0)