Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating actions/cache and actions/artifact to v4 #7192

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/smoke-tests/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ runs:
using: composite
steps:
- name: Fetch Cached Artifacts
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{ github.workspace }}/dist
key: nginx-ingress-${{ github.run_id }}-${{ github.run_number }}-single
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOPATH: ${{ needs.check.outputs.go_path }}
- name: Store Artifacts in Cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{ github.workspace }}/dist
key: nginx-ingress-${{ github.run_id }}-${{ github.run_number }}-single
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
marker: ${{ matrix.images.marker != '' && matrix.images.marker || '""' }}
k8s-version: ${{ matrix.k8s != '' && matrix.k8s || env.K8S_VERSION }}
- name: Upload Test Results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ steps.smoke-tests.outputs.test-results-name }}
path: ${{ github.workspace }}/tests/${{ steps.smoke-tests.outputs.test-results-name }}.html
Expand All @@ -167,7 +167,7 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Fetch Cached Artifacts
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{ github.workspace }}/dist
key: nginx-ingress-${{ github.run_id }}-${{ github.run_number }}-single
Expand Down Expand Up @@ -234,7 +234,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOPATH: ${{ needs.check.outputs.go_path }}
- name: Store Artifacts in Cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{ github.workspace }}/dist
key: nginx-ingress-${{ github.run_id }}-${{ github.run_number }}-multi
Expand Down Expand Up @@ -264,7 +264,7 @@ jobs:
with:
fetch-depth: 0
- name: Fetch Cached Artifacts
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{ github.workspace }}/dist
key: nginx-ingress-${{ github.run_id }}-${{ github.run_number }}-multi
Expand Down Expand Up @@ -339,7 +339,7 @@ jobs:
with:
sarif_file: 'trivy-results-${{ matrix.type }}.sarif'
- name: Upload Scan Results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: 'trivy-results-${{ matrix.type }}.sarif'
path: 'trivy-results-${{ matrix.type }}.sarif'
Expand Down Expand Up @@ -373,7 +373,7 @@ jobs:
- name: Package
run: helm package --version ${{ steps.var.outputs.helm_version }} ${{ env.HELM_CHART_DIR }}
- name: Upload Chart
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: helm-chart
path: ${{ github.workspace }}/nginx-ingress-${{ steps.var.outputs.helm_version }}.tgz
Expand All @@ -393,7 +393,7 @@ jobs:
- name: Remove previous Chart
run: rm -f ${{ github.workspace }}/${{ needs.package-helm.outputs.type }}/nginx-ingress-${{ needs.package-helm.outputs.version }}.tgz
- name: Retrieve latest Helm Chart
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: helm-chart
path: ${{ github.workspace }}/${{ needs.package-helm.outputs.type }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/update-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOPATH: ${{ steps.go.outputs.go_path }}
- name: Store Artifacts in Cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{ github.workspace }}/dist
key: nginx-ingress-${{ github.run_id }}-${{ github.run_number }}
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
ref: v${{ needs.variables.outputs.kic-tag }}
if: ${{ matrix.needs-updating == 'true' }}
- name: Fetch Cached Artifacts
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{ github.workspace }}/dist
key: nginx-ingress-${{ github.run_id }}-${{ github.run_number }}
Expand Down Expand Up @@ -212,7 +212,7 @@ jobs:
working-directory: ./tests
if: ${{ matrix.needs-updating == 'true' }}
- name: Upload Test Results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: test-results-${{ steps.k8s.outputs.cluster }}
path: ${{ github.workspace }}/tests/tests-${{ steps.k8s.outputs.cluster }}.html
Expand Down
Loading