27
27
build :
28
28
name : Build template
29
29
# Pin version of Ubuntu to avoid breaking changes
30
- runs-on : ubuntu-22 .04
30
+ runs-on : ubuntu-24 .04
31
31
# Use reasonable timeout to avoid stuck workflows
32
32
timeout-minutes : 10
33
33
env :
@@ -37,18 +37,18 @@ jobs:
37
37
contents : read
38
38
steps :
39
39
- name : Checkout code
40
- uses : actions/checkout@v4.1.1
40
+ uses : actions/checkout@v4.2.2
41
41
- name : Setup Nix cache
42
- uses : actions/cache@v4.0 .1
42
+ uses : actions/cache@v4.2 .1
43
43
id : cache-nix
44
44
with :
45
45
path : ${{ env.NIX_CACHE_DIR }}
46
46
key : example-nix
47
47
- name : Install Nix
48
- uses : cachix/install-nix-action@v26
48
+ uses : cachix/install-nix-action@v30
49
49
with :
50
50
github_access_token : ${{ github.token }}
51
- install_url : https://releases.nixos.org/nix/nix-2.20.5 /install
51
+ install_url : https://releases.nixos.org/nix/nix-2.26.2 /install
52
52
# See: https://github.com/cachix/install-nix-action/issues/56
53
53
- name : Import Nix store cache
54
54
if : steps.cache-nix.outputs.cache-hit == 'true'
88
88
archive.tar
89
89
./
90
90
- name : Upload artifact
91
- uses : actions/upload-artifact@v4.3.1
91
+ uses : actions/upload-artifact@v4.6.0
92
92
with :
93
+ include-hidden-files : true
93
94
name : build
94
95
path : archive.tar
95
96
# See: https://github.com/cachix/install-nix-action/issues/56
@@ -108,12 +109,12 @@ jobs:
108
109
# Run only if build job succeeded
109
110
needs : build
110
111
# Pin version of Ubuntu to avoid breaking changes
111
- runs-on : ubuntu-22 .04
112
+ runs-on : ubuntu-24 .04
112
113
# Use reasonable timeout to avoid stuck workflows
113
114
timeout-minutes : 10
114
115
steps :
115
116
- name : Download artifact
116
-
117
+
117
118
with :
118
119
name : build
119
120
- name : Extract archive
@@ -130,7 +131,7 @@ jobs:
130
131
--file
131
132
archive.tar
132
133
- name : Checkout example repository
133
- uses : actions/checkout@v4.1.1
134
+ uses : actions/checkout@v4.2.2
134
135
with :
135
136
repository : quickplates/react-example
136
137
token : ${{ secrets.EXAMPLES_ACCESS_TOKEN }}
0 commit comments