Skip to content

Commit aa3b6c8

Browse files
committed
Update github workflow
1 parent e909c1e commit aa3b6c8

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/main.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ on:
1414
jobs:
1515
# This workflow contains a single job called "build"
1616
setup-sdk:
17-
runs-on: ubuntu-20.04
17+
runs-on: ubuntu-24.04
1818

1919
steps:
2020
- name: Cache sdk
2121
id: cache-sdk
22-
uses: actions/cache@v3
22+
uses: actions/cache@v4
2323
with:
2424
path: |
2525
cc65/**/*
@@ -30,21 +30,21 @@ jobs:
3030

3131
- name: Checkout cc65
3232
if: steps.cache-sdk.outputs.cache-hit != 'true'
33-
uses: actions/checkout@v3
33+
uses: actions/checkout@v4
3434
with:
3535
repository: cc65/cc65
3636
path: cc65
3737

3838
- name: Checkout orix-sdk
3939
if: steps.cache-sdk.outputs.cache-hit != 'true'
40-
uses: actions/checkout@v3
40+
uses: actions/checkout@v4
4141
with:
4242
repository: assinie/orix-sdk
4343
path: orix-sdk
4444

4545
- name: Checkout md2hlp
4646
if: steps.cache-sdk.outputs.cache-hit != 'true'
47-
uses: actions/checkout@v3
47+
uses: actions/checkout@v4
4848
with:
4949
repository: assinie/md2hlp
5050
path: md2hlp
@@ -83,13 +83,13 @@ jobs:
8383
build:
8484
# The type of runner that the job will run on
8585
needs: setup-sdk
86-
runs-on: ubuntu-20.04
86+
runs-on: ubuntu-24.04
8787
outputs:
8888
version: ${{ steps.job_vars.outputs.VERSION }}
8989
repo_name: ${{ steps.job_vars.outputs.REPO_NAME }}
9090

9191
steps:
92-
- uses: actions/checkout@v3
92+
- uses: actions/checkout@v4
9393

9494
- name: Set job variables
9595
id: job_vars
@@ -98,7 +98,7 @@ jobs:
9898
echo "REPO_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_OUTPUT
9999
100100
- name: Install sdk
101-
uses: actions/cache@v3
101+
uses: actions/cache@v4
102102
with:
103103
path: |
104104
cc65/**/*
@@ -117,7 +117,7 @@ jobs:
117117
run: ls -lR build
118118

119119
- name: Upload Artifact
120-
uses: actions/upload-artifact@v3
120+
uses: actions/upload-artifact@v4
121121
with:
122122
name: ${{ steps.job_vars.outputs.REPO_NAME }}
123123
path: |
@@ -129,7 +129,7 @@ jobs:
129129

130130
upload:
131131
needs: build
132-
runs-on: ubuntu-20.04
132+
runs-on: ubuntu-24.04
133133
defaults:
134134
run:
135135
shell: bash
@@ -155,7 +155,7 @@ jobs:
155155
# On pourrait faire l'extraction directement à la racine si VERSION est dans l'artifact
156156
- name: Download Artifact
157157
id: download
158-
uses: actions/download-artifact@v3
158+
uses: actions/download-artifact@v4
159159
with:
160160
name: ${{ needs.build.outputs.repo_name }}
161161
path: artifact

0 commit comments

Comments
 (0)