Skip to content

Commit 3ced6f7

Browse files
committed
Update actions/upload-artifact to v4
1 parent 63588f0 commit 3ced6f7

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Ch01/01_03-scheduled-triggers/nightly-build.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ jobs:
1111
- name: Create a tag for the archive
1212
run: echo "::set-output name=TAG::$(date +%F)"
1313
id: tag
14-
14+
1515
- name: Starting the nightly build for ${{ steps.tag.outputs.TAG }}
1616
run: echo "The tag is ${{ steps.tag.outputs.TAG }}"
17-
17+
1818
- name: Check out the code
1919
uses: actions/checkout@v2
20-
20+
2121
- name: Create the artifact
2222
run: tar -cvf nightly-${{ steps.tag.outputs.TAG }}.tar ./*
23-
23+
2424
- name: Upload the artifact
25-
uses: actions/upload-artifact@v2
25+
uses: actions/upload-artifact@v4
2626
with:
2727
name: nightly-${{ steps.tag.outputs.TAG }}.tar
2828
path: nightly-${{ steps.tag.outputs.TAG }}.tar

Ch01/01_06-caching-between-workflow-runs/build-hugo-no-cache.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Build the hugo executable
2020
run: go install --tags extended
2121

22-
- uses: actions/upload-artifact@v2
22+
- uses: actions/upload-artifact@v4
2323
with:
2424
name: hugo
2525
path: /home/runner/go/bin/hugo

Ch01/01_06-caching-between-workflow-runs/build-hugo-with-cache.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Build the hugo executable
2828
run: go install --tags extended
2929

30-
- uses: actions/upload-artifact@v2
30+
- uses: actions/upload-artifact@v4
3131
with:
3232
name: hugo
3333
path: /home/runner/go/bin/hugo

0 commit comments

Comments
 (0)