From dcae813d05dec3d96a565ad1793728cbbb730e4e Mon Sep 17 00:00:00 2001 From: Jun Siang Cheah Date: Wed, 22 May 2024 09:20:26 +0100 Subject: [PATCH] chore: update github actions --- .github/workflows/build-release.yml | 6 +++--- .github/workflows/format-backend.yaml | 2 +- .github/workflows/format-build-frontend.yaml | 2 +- .github/workflows/integration-test.yml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 036bb97ae..cae363f42 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Check for changes in package.json run: | @@ -36,7 +36,7 @@ jobs: echo "::set-output name=content::$CHANGELOG_ESCAPED" - name: Create GitHub release - uses: actions/github-script@v5 + uses: actions/github-script@v7 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | @@ -51,7 +51,7 @@ jobs: console.log(`Created release ${release.data.html_url}`) - name: Upload package to GitHub release - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: package path: . diff --git a/.github/workflows/format-backend.yaml b/.github/workflows/format-backend.yaml index dd0e94868..2e980de41 100644 --- a/.github/workflows/format-backend.yaml +++ b/.github/workflows/format-backend.yaml @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/format-build-frontend.yaml b/.github/workflows/format-build-frontend.yaml index 6f89f14a9..9ee57f475 100644 --- a/.github/workflows/format-build-frontend.yaml +++ b/.github/workflows/format-build-frontend.yaml @@ -19,7 +19,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '20' # Or specify any other version you want to use diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 96ba50289..2426aff27 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -99,7 +99,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }}