Skip to content

Commit

Permalink
bump actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mhan83 committed Apr 15, 2024
1 parent 2d62865 commit 0dfc8a6
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 40 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ jobs:
echo "tag_name=${TAG_NAME}" >> $GITHUB_OUTPUT
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
if: ${{ steps.prep.outputs.tag_name == '' }}
with:
ref: ${{ github.ref }}
fetch-depth: 0

- name: Setup Node
if: ${{ steps.prep.outputs.tag_name == '' }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: npm
Expand Down Expand Up @@ -122,14 +122,14 @@ jobs:
- run: Write-Output "${{ steps.prep.outputs.release_id }} - ${{ steps.prep.outputs.version }} - ${{ steps.prep.outputs.asset_id }}"

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
if: ${{ steps.prep.outputs.asset_id == '' }}
with:
ref: ${{ steps.prep.outputs.version }}

- name: Setup Node
if: ${{ steps.prep.outputs.asset_id == '' }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: npm
Expand All @@ -149,7 +149,7 @@ jobs:

- name: Archive Bundle
if: ${{ steps.prep.outputs.asset_id == '' }}
uses: azure/powershell@v1
uses: azure/powershell@v2
with:
inlineScript: |
Compress-Archive bundle/ playwright-windows-amd64.zip
Expand Down Expand Up @@ -194,14 +194,14 @@ jobs:
- run: echo "${{ steps.prep.outputs.release_id }} - ${{ steps.prep.outputs.version }} - ${{ steps.prep.outputs.asset_id }}"

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
if: ${{ steps.prep.outputs.asset_id == '' }}
with:
ref: ${{ steps.prep.outputs.version }}

- name: Setup Node
if: ${{ steps.prep.outputs.asset_id == '' }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: npm
Expand Down Expand Up @@ -262,10 +262,10 @@ jobs:
SAUCE_USERNAME: ${{secrets.SAUCE_USERNAME}}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup saucectl
uses: saucelabs/saucectl-run-action@v3
uses: saucelabs/saucectl-run-action@v4
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down Expand Up @@ -295,10 +295,10 @@ jobs:
SAUCE_USERNAME: ${{secrets.SAUCE_USERNAME}}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup saucectl
uses: saucelabs/saucectl-run-action@v3
uses: saucelabs/saucectl-run-action@v4
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down Expand Up @@ -328,10 +328,10 @@ jobs:
SAUCE_USERNAME: ${{secrets.SAUCE_USERNAME}}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup saucectl
uses: saucelabs/saucectl-run-action@v3
uses: saucelabs/saucectl-run-action@v4
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down Expand Up @@ -362,10 +362,10 @@ jobs:
SAUCE_USERNAME: ${{secrets.SAUCE_USERNAME}}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup saucectl
uses: saucelabs/saucectl-run-action@v3
uses: saucelabs/saucectl-run-action@v4
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down
50 changes: 25 additions & 25 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
Expand All @@ -40,10 +40,10 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
Expand All @@ -64,10 +64,10 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
Expand All @@ -93,26 +93,26 @@ jobs:
needs: [test]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: npm

- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Google Cloud Login
uses: 'google-github-actions/auth@v1'
uses: 'google-github-actions/auth@v2'
with:
credentials_json: '${{ secrets.GCS_RUNNER_SA_KEY }}'

- name: Install gcloud SDK
uses: google-github-actions/setup-gcloud@v1
uses: google-github-actions/setup-gcloud@v2
with:
project_id: ${{ secrets.GCS_RUNNER_PROJECT_ID }}
env:
Expand All @@ -125,7 +125,7 @@ jobs:
run: bash ./scripts/bundle.sh

- name: Archive Bundle
uses: azure/powershell@v1
uses: azure/powershell@v2
with:
inlineScript: |
Compress-Archive bundle/ playwright-windows-amd64.zip
Expand All @@ -140,27 +140,27 @@ jobs:
needs: [test]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: npm

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Google Cloud Login
id: 'auth'
uses: 'google-github-actions/auth@v1'
uses: 'google-github-actions/auth@v2'
with:
credentials_json: '${{ secrets.GCS_RUNNER_SA_KEY }}'

- name: Install gcloud SDK
uses: google-github-actions/setup-gcloud@v1
uses: google-github-actions/setup-gcloud@v2
with:
project_id: ${{ secrets.GCS_RUNNER_PROJECT_ID }}
env:
Expand Down Expand Up @@ -191,10 +191,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup saucectl
uses: saucelabs/saucectl-run-action@v3
uses: saucelabs/saucectl-run-action@v4
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down Expand Up @@ -230,15 +230,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Setup saucectl
uses: saucelabs/saucectl-run-action@v3
uses: saucelabs/saucectl-run-action@v4
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down Expand Up @@ -280,16 +280,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: npm

- name: Setup saucectl
uses: saucelabs/saucectl-run-action@v3
uses: saucelabs/saucectl-run-action@v4
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down

0 comments on commit 0dfc8a6

Please sign in to comment.