From 6d09683d2f659f269575d602e2393ba2005bfd9e Mon Sep 17 00:00:00 2001 From: Joel Lappalainen Date: Mon, 31 Jul 2023 16:57:08 +0300 Subject: [PATCH] Update actions --- .github/workflows/dev-pipeline.yml | 12 ++++++------ .github/workflows/prod-pipeline.yml | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/dev-pipeline.yml b/.github/workflows/dev-pipeline.yml index 8b0970cd..b4bb9f7a 100644 --- a/.github/workflows/dev-pipeline.yml +++ b/.github/workflows/dev-pipeline.yml @@ -14,13 +14,13 @@ jobs: node-version: [10.x] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - name: Cache node modules - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: '**/node_modules' key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }} @@ -38,17 +38,17 @@ jobs: node-version: [10.x] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set time zone to Europe/Helsinki uses: zcong1993/setup-timezone@master with: timezone: "Europe/Helsinki" - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - name: Cache node modules - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: '**/node_modules' key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }} diff --git a/.github/workflows/prod-pipeline.yml b/.github/workflows/prod-pipeline.yml index 23d55a63..577dbe48 100644 --- a/.github/workflows/prod-pipeline.yml +++ b/.github/workflows/prod-pipeline.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set time zone to Europe/Helsinki uses: zcong1993/setup-timezone@master with: @@ -17,7 +17,7 @@ jobs: id: check-tag run: | if [[ ${GITHUB_REF##*/} =~ ^202[0-9][0-1][0-9][0-3][0-9] ]]; then - echo "{match}={true}" >> $GITHUB_OUTPUT + echo "match=true" >> $GITHUB_OUTPUT fi - name: Push latest image as v3-prod if: steps.check-tag.outputs.match == 'true'