aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/tag-repos.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/tag-repos.yml')
-rw-r--r--.github/workflows/tag-repos.yml40
1 files changed, 20 insertions, 20 deletions
diff --git a/.github/workflows/tag-repos.yml b/.github/workflows/tag-repos.yml
index 6ef055e7b..0e5de76a5 100644
--- a/.github/workflows/tag-repos.yml
+++ b/.github/workflows/tag-repos.yml
@@ -8,27 +8,27 @@ on:
8 8
9jobs: 9jobs:
10 tag-repos: 10 tag-repos:
11 runs-on: macos-latest 11 runs-on: macos-12
12 steps: 12 steps:
13 - name: Checkout code along with submodules for the 'nightly' branch if the trigger event is 'release' 13 - name: Checkout code along with submodules for the 'nightly' branch if the trigger event is 'release'
14 uses: actions/checkout@v3 14 uses: actions/checkout@v4
15 if: ${{ contains(github.event.release.tag_name, 'nightly') || (github.event_name == 'workflow_dispatch') }} 15 if: ${{ contains(github.event.release.tag_name, 'nightly') || (github.event_name == 'workflow_dispatch') }}
16 with: 16 with:
17 ref: nightly 17 ref: nightly
18 submodules: recursive 18 submodules: recursive
19 fetch-depth: 0 # Note: Needed to be able to pull the 'develop' branch as well for merging 19 fetch-depth: 0 # Note: Needed to be able to pull the 'develop' branch as well for merging
20 - name: Checkout code along with submodules for the 'release' branch if the trigger event is 'release' 20 - name: Checkout code along with submodules for the 'release' branch if the trigger event is 'release'
21 uses: actions/checkout@v3 21 uses: actions/checkout@v4
22 if: ${{ !contains(github.event.release.tag_name, 'nightly') }} 22 if: ${{ !contains(github.event.release.tag_name, 'nightly') }}
23 with: 23 with:
24 ref: release 24 ref: release
25 submodules: recursive 25 submodules: recursive
26 fetch-depth: 0 # Note: Needed to be able to pull the 'develop' branch as well for merging 26 fetch-depth: 0 # Note: Needed to be able to pull the 'develop' branch as well for merging
27 - name: Extract Git tag name from the currently checked out branch (not from the branch where this run was kicked off) 27 - name: Extract Git tag name from the currently checked out branch (not from the branch where this run was kicked off)
28 run: | 28 run: |
29 TAG_NAME=$(node -p 'require("./package.json").version') 29 TAG_NAME=$(node -p 'require("./package.json").version')
30 echo "TAG_NAME=v$TAG_NAME" >> $GITHUB_ENV 30 echo "TAG_NAME=v$TAG_NAME" >> $GITHUB_ENV
31 shell: bash 31 shell: bash
32 # Note: commented out the tagging of the main repo - since that is auto-created when a new release is published 32 # Note: commented out the tagging of the main repo - since that is auto-created when a new release is published
33 # - name: Tag the main repo 33 # - name: Tag the main repo
34 # run: | 34 # run: |