From 7df3cffde2b80ed8e280685ee9c8da1e8a06f6da Mon Sep 17 00:00:00 2001 From: Vijay A Date: Wed, 20 Apr 2022 06:26:34 -0500 Subject: Upgrade GH Actions libs --- .github/workflows/builds.yml | 30 +++++++++++++++--------------- .github/workflows/dependency-updates.yml | 4 ++-- 2 files changed, 17 insertions(+), 17 deletions(-) (limited to '.github') diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 5e94b6b9e..5a9ee79aa 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -40,7 +40,7 @@ jobs: should_run: ${{ steps.should_run.outputs.should_run }} steps: - name: Checkout code along with submodules for the 'nightly' branch if the trigger event is 'scheduled' - uses: actions/checkout@v2 + uses: actions/checkout@v3 if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }} with: ref: nightly @@ -48,7 +48,7 @@ jobs: fetch-depth: 0 # Note: Needed to be able to pull the 'develop' branch as well for merging # ssh-key: ${{ secrets.FERDIUM_PUBLISH_TOKEN }} - name: Use Node.js specified in the '.nvmrc' file - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }} with: node-version-file: '.nvmrc' @@ -106,13 +106,13 @@ jobs: echo "ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder" >> $GITHUB_ENV echo "MANUAL_REBUILD_ON_NIGHTLY=${{ github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]') }}" >> $GITHUB_ENV - name: Checkout code along with submodules for the 'nightly' branch if the trigger event is 'scheduled' or this is a forced rebuild on the nightly branch - uses: actions/checkout@v2 + uses: actions/checkout@v3 if: ${{ github.event_name == 'schedule' || env.MANUAL_REBUILD_ON_NIGHTLY == 'true' }} with: submodules: recursive ref: nightly - name: Checkout code along with submodules for any branch if the trigger event is NOT 'scheduled' and this is NOT a forced rebuild on the nightly branch - uses: actions/checkout@v2 + uses: actions/checkout@v3 if: ${{ github.event_name != 'schedule' && env.MANUAL_REBUILD_ON_NIGHTLY != 'true' }} with: submodules: recursive @@ -120,21 +120,21 @@ jobs: run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV shell: bash - name: Cache electron modules - uses: actions/cache@v2 + uses: actions/cache@v3 env: cache-name: cache-electron-modules with: key: ${{ runner.os }}-${{ env.cache-name }} path: ${{ env.ELECTRON_CACHE }} - name: Cache electron-builder modules - uses: actions/cache@v2 + uses: actions/cache@v3 env: cache-name: cache-electron-builder-modules with: key: ${{ runner.os }}-${{ env.cache-name }} path: ${{ env.ELECTRON_BUILDER_CACHE }} - name: Use Node.js specified in the '.nvmrc' file - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version-file: '.nvmrc' - name: Install npm @@ -193,13 +193,13 @@ jobs: echo "ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder" >> $GITHUB_ENV echo "MANUAL_REBUILD_ON_NIGHTLY=${{ github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]') }}" >> $GITHUB_ENV - name: Checkout code along with submodules for the 'nightly' branch if the trigger event is 'scheduled' or this is a forced rebuild on the nightly branch - uses: actions/checkout@v2 + uses: actions/checkout@v3 if: ${{ github.event_name == 'schedule' || env.MANUAL_REBUILD_ON_NIGHTLY == 'true' }} with: submodules: recursive ref: nightly - name: Checkout code along with submodules for any branch if the trigger event is NOT 'scheduled' and this is NOT a forced rebuild on the nightly branch - uses: actions/checkout@v2 + uses: actions/checkout@v3 if: ${{ github.event_name != 'schedule' && env.MANUAL_REBUILD_ON_NIGHTLY != 'true' }} with: submodules: recursive @@ -207,21 +207,21 @@ jobs: run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV shell: bash - name: Cache electron modules - uses: actions/cache@v2 + uses: actions/cache@v3 env: cache-name: cache-electron-modules with: key: ${{ runner.os }}-${{ env.cache-name }} path: ${{ env.ELECTRON_CACHE }} - name: Cache electron-builder modules - uses: actions/cache@v2 + uses: actions/cache@v3 env: cache-name: cache-electron-builder-modules with: key: ${{ runner.os }}-${{ env.cache-name }} path: ${{ env.ELECTRON_BUILDER_CACHE }} - name: Use Node.js specified in the '.nvmrc' file - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version-file: '.nvmrc' - name: Install npm @@ -294,13 +294,13 @@ jobs: echo "MANUAL_REBUILD_ON_NIGHTLY=${{ github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]') }}" >> $GITHUB_ENV shell: bash - name: Checkout code along with submodules for the 'nightly' branch if the trigger event is 'scheduled' or this is a forced rebuild on the nightly branch - uses: actions/checkout@v2 + uses: actions/checkout@v3 if: ${{ github.event_name == 'schedule' || env.MANUAL_REBUILD_ON_NIGHTLY == 'true' }} with: submodules: recursive ref: nightly - name: Checkout code along with submodules for any branch if the trigger event is NOT 'scheduled' and this is NOT a forced rebuild on the nightly branch - uses: actions/checkout@v2 + uses: actions/checkout@v3 if: ${{ github.event_name != 'schedule' && env.MANUAL_REBUILD_ON_NIGHTLY != 'true' }} with: submodules: recursive @@ -308,7 +308,7 @@ jobs: run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV shell: bash - name: Use Node.js specified in the '.nvmrc' file - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version-file: '.nvmrc' - name: Install npm diff --git a/.github/workflows/dependency-updates.yml b/.github/workflows/dependency-updates.yml index d8c53cbbd..1977ab2a7 100644 --- a/.github/workflows/dependency-updates.yml +++ b/.github/workflows/dependency-updates.yml @@ -24,7 +24,7 @@ jobs: echo "NPM_CACHE=$HOME/.npm" >> $GITHUB_ENV echo "PNPM_CACHE=$HOME/.pnpm-store" >> $GITHUB_ENV - name: Checkout code along with submodules - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: submodules: recursive - name: Extract Git branch name and commit from the currently checked out branch (not from the branch where this run was kicked off) @@ -32,7 +32,7 @@ jobs: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV shell: bash - name: Use Node.js specified in the '.nvmrc' file - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version-file: '.nvmrc' - name: Install npm -- cgit v1.2.3-54-g00ecf