Skip to content

Commit

Permalink
Merge pull request #3875 from twz123/bump-artifact-actions
Browse files Browse the repository at this point in the history
Bump artifact actions
  • Loading branch information
twz123 authored Jan 4, 2024
2 parents fb2dc27 + 4498105 commit b071e11
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-airgap-image-bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
persist-credentials: false

- name: "Download :: Airgap image list"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: airgap-image-list-${{ inputs.target-os }}-${{ inputs.target-arch }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
run: make -C docs docs

- name: Upload site/
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: site
path: site/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-k0s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
make build
- name: "Upload :: k0s"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: k0s-${{ inputs.target-os }}-${{ inputs.target-arch }}
path: |
Expand All @@ -86,7 +86,7 @@ jobs:

- name: "Upload :: Airgap image list"
if: inputs.target-os != 'windows'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: airgap-image-list-${{ inputs.target-os }}-${{ inputs.target-arch }}
path: airgap-images.txt
16 changes: 8 additions & 8 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
mkdir -p sbom && chmod 777 sbom
make sbom/spdx.json
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: spdx.json
path: sbom/spdx.json
Expand Down Expand Up @@ -229,7 +229,7 @@ jobs:
go-version: ${{ env.GO_VERSION }}

- name: Download compiled executable
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: k0s-linux-amd64

Expand Down Expand Up @@ -258,7 +258,7 @@ jobs:
- name: Collect k0s logs and support bundle
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: smoketests-${{ matrix.smoke-suite }}-files
path: |
Expand All @@ -267,7 +267,7 @@ jobs:
- name: Collect sonobuoy results
if: failure() && contains(matrix.smoke-suite, 'conformance')
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: smoketests-${{ matrix.smoke-suite }}-sonobuoy-results
path: /tmp/*_sonobuoy_*.tar.gz
Expand Down Expand Up @@ -301,7 +301,7 @@ jobs:
go-version: ${{ env.GO_VERSION }}

- name: Download compiled executable
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: k0s-linux-amd64

Expand All @@ -321,7 +321,7 @@ jobs:
- name: Collect k0s logs and support bundle
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: autopilot-tests-${{ matrix.version }}-files
path: |
Expand Down Expand Up @@ -395,7 +395,7 @@ jobs:
make build
- name: Upload compiled executable
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: k0s-${{ matrix.arch }}
path: k0s
Expand Down Expand Up @@ -432,7 +432,7 @@ jobs:
- name: Collect k0s logs and support bundle
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: smoketest-${{ matrix.arch }}-check-basic-files
path: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ostests-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
- name: "Terraform :: Requisites :: Download k0s"
if: inputs.k0s-version == ''
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: k0s-linux-amd64
path: ${{ github.workspace }}/.cache
Expand Down Expand Up @@ -203,7 +203,7 @@ jobs:

- name: "e2e tests :: Upload results"
if: always() && (steps.e2e-retrieve-parallel.conclusion == 'success' || steps.e2e-retrieve-serial.conclusion == 'success')
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ostests-e2e-${{ inputs.os }}-${{ inputs.network-provider }}-sonobuoy-results
path: |
Expand All @@ -226,7 +226,7 @@ jobs:
- name: "e2e tests :: Upload k0sctl logs"
if: always() && steps.tf-init.conclusion == 'success'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ostests-e2e-${{ inputs.os }}-${{ inputs.network-provider }}-k0sctl-logs
path: ~/.cache/k0sctl/k0sctl.log
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:

- name: Collect smoke test logs
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: logs
path: tests/*.log
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
asset_content_type: application/octet-stream

- name: Upload Artifact for use in other Jobs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: k0s-amd64
path: ./k0s
Expand Down Expand Up @@ -269,7 +269,7 @@ jobs:

- name: Collect smoke test logs
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: logs
path: tests/*.log
Expand All @@ -293,7 +293,7 @@ jobs:
asset_content_type: application/octet-stream

- name: Upload Artifact for use in other Jobs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: k0s-arm64
path: ./k0s
Expand Down Expand Up @@ -377,7 +377,7 @@ jobs:

- name: Collect smoke test logs
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: logs
path: tests/*.log
Expand All @@ -401,7 +401,7 @@ jobs:
asset_content_type: application/octet-stream

- name: Upload Artifact for use in other Jobs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: k0s-arm
path: ./k0s
Expand Down Expand Up @@ -486,17 +486,17 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Fetch k0s amd64
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: k0s-amd64
path: ./k0s-amd64
- name: Fetch k0s arm64
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: k0s-arm64
path: ./k0s-arm64
- name: Fetch k0s arm
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: k0s-arm
path: ./k0s-arm
Expand Down Expand Up @@ -597,7 +597,7 @@ jobs:
run: terraform init

- name: Fetch k0s Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: k0s-${{ matrix.arch }}
path: ${{ github.workspace }}/k0s
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sbom-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
echo $COSIGN_KEY | base64 -d > cosign.key
make sign-sbom
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: sbom
path: sbom/
Expand Down

0 comments on commit b071e11

Please sign in to comment.