@@ -37,27 +37,27 @@ jobs:
3737 contents : read
3838 steps :
3939 - name : Checkout code
40- uses : actions/checkout@v4.2.2
40+ uses : actions/checkout@v5.0.0
4141 - name : Setup Nix cache
42- uses : actions/cache@v4.2.1
42+ uses : actions/cache@v4.3.0
4343 id : cache-nix
4444 with :
4545 path : ${{ env.NIX_CACHE_DIR }}
4646 key : example-nix
4747 - name : Install Nix
48- uses : cachix/install-nix-action@v30
48+ uses : cachix/install-nix-action@v31.8.4
4949 with :
5050 github_access_token : ${{ github.token }}
51- install_url : https://releases.nixos.org/nix/nix-2.26.2 /install
51+ install_url : https://releases.nixos.org/nix/nix-2.28.5 /install
5252 # See: https://github.com/cachix/install-nix-action/issues/56
5353 - name : Import Nix store cache
5454 if : steps.cache-nix.outputs.cache-hit == 'true'
55- run : >
55+ run : >-
5656 nix-store
5757 --import
5858 < ${{ env.NIX_CACHE_DIR }}/archive.nar
5959 - name : Build template files
60- run : >
60+ run : >-
6161 nix
6262 develop
6363 ./#template
7676 'description=Generic project example 👤'
7777 # Create archive to retain file permissions
7878 - name : Create archive
79- run : >
79+ run : >-
8080 tar
8181 --directory
8282 build/
@@ -86,15 +86,15 @@ jobs:
8686 archive.tar
8787 ./
8888 - name : Upload artifact
89- uses : actions/upload-artifact@v4.6 .0
89+ uses : actions/upload-artifact@v5.0 .0
9090 with :
9191 include-hidden-files : true
9292 name : build
9393 path : archive.tar
9494 # See: https://github.com/cachix/install-nix-action/issues/56
9595 - name : Export Nix store cache
9696 if : " !cancelled()"
97- run : >
97+ run : >-
9898 mkdir
9999 --parents
100100 ${{ env.NIX_CACHE_DIR }}
@@ -112,11 +112,11 @@ jobs:
112112 timeout-minutes : 10
113113 steps :
114114 - name : Download artifact
115- uses : actions/download-artifact@v4.1.8
115+ uses : actions/download-artifact@v6.0.0
116116 with :
117117 name : build
118118 - name : Extract archive
119- run : >
119+ run : >-
120120 mkdir
121121 --parents
122122 build/
@@ -129,7 +129,7 @@ jobs:
129129 --file
130130 archive.tar
131131 - name : Checkout example repository
132- uses : actions/checkout@v4.2.2
132+ uses : actions/checkout@v5.0.0
133133 with :
134134 repository : quickplates/generic-example
135135 token : ${{ secrets.EXAMPLES_ACCESS_TOKEN }}
@@ -139,7 +139,7 @@ jobs:
139139 # Configure git to use GitHub Actions bot as committer
140140 - name : Configure git
141141 working-directory : example/
142- run : >
142+ run : >-
143143 git
144144 config
145145 user.name
@@ -151,48 +151,48 @@ jobs:
151151 "41898282+github-actions[bot]@users.noreply.github.com"
152152 - name : Reset example repository to first commit
153153 working-directory : example/
154- run : >
154+ run : >-
155155 git
156156 reset
157157 --hard
158158 "$(git rev-list --max-parents=0 HEAD)"
159159 - name : Push changes
160160 working-directory : example/
161- run : >
161+ run : >-
162162 git
163163 push
164164 --force
165165 origin
166166 HEAD
167167 - name : Create new branch
168168 working-directory : example/
169- run : >
169+ run : >-
170170 git
171171 checkout
172172 -b
173173 build
174174 - name : Copy build output
175- run : >
175+ run : >-
176176 cp
177177 --recursive
178178 build/.
179179 example/
180180 - name : Add changes
181181 working-directory : example/
182- run : >
182+ run : >-
183183 git
184184 add
185185 ./
186186 - name : Commit changes
187187 working-directory : example/
188- run : >
188+ run : >-
189189 git
190190 commit
191191 --message
192192 'Added template files'
193193 - name : Push changes
194194 working-directory : example/
195- run : >
195+ run : >-
196196 git
197197 push
198198 --force
@@ -202,7 +202,7 @@ jobs:
202202 working-directory : example/
203203 env :
204204 GITHUB_TOKEN : ${{ secrets.EXAMPLES_ACCESS_TOKEN }}
205- run : >
205+ run : >-
206206 gh
207207 pr
208208 create
@@ -224,7 +224,7 @@ jobs:
224224 working-directory : example/
225225 env :
226226 GITHUB_TOKEN : ${{ secrets.EXAMPLES_ACCESS_TOKEN }}
227- run : >
227+ run : >-
228228 gh
229229 release
230230 list
@@ -252,7 +252,7 @@ jobs:
252252 working-directory : example/
253253 env :
254254 GITHUB_TOKEN : ${{ secrets.EXAMPLES_ACCESS_TOKEN }}
255- run : >
255+ run : >-
256256 gh
257257 pr
258258 merge
@@ -261,7 +261,7 @@ jobs:
261261 --squash
262262 - name : Fetch changes from origin
263263 working-directory : example/
264- run : >
264+ run : >-
265265 git
266266 fetch
267267 --prune
@@ -271,7 +271,7 @@ jobs:
271271 working-directory : example/
272272 env :
273273 GITHUB_TOKEN : ${{ secrets.EXAMPLES_ACCESS_TOKEN }}
274- run : >
274+ run : >-
275275 gh
276276 release
277277 create
0 commit comments