Skip to content

Commit

Permalink
Update deprecated Github actions
Browse files Browse the repository at this point in the history
Updated all the github actions that were throwing deprecation
warnings around node.js 16 no longer being supported.
  • Loading branch information
ARolek committed Feb 24, 2024
1 parent 7db5566 commit 759f979
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/actions/tegola-setup-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ runs:
using: "composite"
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download version artifact
uses: actions/download-artifact@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/upload-artifact/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ runs:
shell: pwsh

- name: Upload build artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.release_archive_name }}
path: ${{ steps.zip-path.outputs.dir-path }}tegola.zip
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/on_release_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4

# on release, we want to use release.tag_name for the version
- name: Set tegola version (use release.tag_name)
Expand All @@ -26,7 +26,7 @@ jobs:
run: echo ${{ github.sha }} | cut -c1-7 > ${{ github.workspace }}/version.txt

- name: Upload build artifact version
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: version
path: ${{ github.workspace }}/version.txt
Expand All @@ -40,7 +40,7 @@ jobs:
echo "refs/heads/$DEFAULT_BRANCH" > ${{ github.workspace }}/default-branch-ref.txt
- name: Upload build artifacts default branch ref
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: default-branch-ref
path: ${{ github.workspace }}/default-branch-ref.txt
Expand All @@ -51,12 +51,12 @@ jobs:

steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: 1.21.3
go-version-file: 'go.mod'

- name: Build embedded UI
run: |
Expand All @@ -65,7 +65,7 @@ jobs:
popd
- name: Upload build artifact version
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ui
path: ${{ github.workspace }}/ui/dist
Expand All @@ -77,7 +77,7 @@ jobs:

steps:
- name: Check out actions
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup env
uses: ./.github/actions/tegola-setup-env
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:

steps:
- name: Check out actions
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup env
uses: ./.github/actions/tegola-setup-env
Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:

steps:
- name: Check out actions
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup env
uses: ./.github/actions/tegola-setup-env
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:

steps:
- name: Check out actions
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup env
uses: ./.github/actions/tegola-setup-env
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:

steps:
- name: Check out actions
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup env
uses: ./.github/actions/tegola-setup-env
Expand Down Expand Up @@ -232,7 +232,7 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
Expand Down Expand Up @@ -296,7 +296,7 @@ jobs:

steps:
- name: Check out actions
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup env
uses: ./.github/actions/tegola-setup-env
Expand Down

0 comments on commit 759f979

Please sign in to comment.