Skip to content

Commit

Permalink
[Workflows] Update GitHub actions from v3 to v4 (#1041)
Browse files Browse the repository at this point in the history
## Summary

Upgrade github ations from `v3` to `v4`.

## Issue

### Origin Document


https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
<img width="1006" alt="Screenshot 2025-01-23 at 2 32 22 PM"
src="https://github.com/user-attachments/assets/bcf75024-c2bb-4c2c-b38f-90d2d864af2a"
/>

### Example in action

<img width="1678" alt="Screenshot 2025-01-23 at 2 32 40 PM"
src="https://github.com/user-attachments/assets/a0fddefd-71df-49f0-aa53-1ecb827e85af"
/>


https://github.com/buildwithgrove/path/actions/runs/12935368023/job/36078630477

---------

Co-authored-by: Dmitry K <[email protected]>
Co-authored-by: Dima K. <[email protected]>
  • Loading branch information
3 people authored Jan 24, 2025
1 parent ddf1371 commit f17ea06
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
build-push-container:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: "0" # Per https://github.com/ignite/cli/issues/1674#issuecomment-1144619147

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
release-artifacts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: "0" # Per https://github.com/ignite/cli/issues/1674#issuecomment-1144619147

Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
type=sha,format=long,suffix=-prod
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand All @@ -82,7 +82,7 @@ jobs:

# TODO_TECHDEBT(@okdas): use for releases (also change the "on" part at the top so it only tgirrered for tags/releases)
- name: Add release and publish binaries
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: |
release/*
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
go-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: "0" # Per https://github.com/ignite/cli/issues/1674#issuecomment-1144619147

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/upload-pages-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
update-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: "0" # Per https://github.com/ignite/cli/issues/1674#issuecomment-1144619147

Expand All @@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
pages: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
Expand All @@ -83,15 +83,15 @@ jobs:
yarn build
- name: Setup Pages
uses: actions/configure-pages@v4
uses: actions/configure-pages@v5
with:
enablement: true

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
path: docusaurus/build

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4

0 comments on commit f17ea06

Please sign in to comment.