diff options
author | 2023-12-21 18:27:00 -0700 | |
---|---|---|
committer | 2023-12-21 18:27:00 -0700 | |
commit | 6259bb8833a10c1e3dcc84f418946bcf2db40f25 (patch) | |
tree | ceaf71f17493c1f8db4b9d37c9a17b006d5935bc /.github/workflows/tag-repos.yml | |
parent | fix: custom services developer documentation link leads to franz pape (#1493) (diff) | |
download | ferdium-app-6259bb8833a10c1e3dcc84f418946bcf2db40f25.tar.gz ferdium-app-6259bb8833a10c1e3dcc84f418946bcf2db40f25.tar.zst ferdium-app-6259bb8833a10c1e3dcc84f418946bcf2db40f25.zip |
ci: update various github actions to latest (#1494)
- update `actions/checkout` from v3 to v4
- update `actions/setup-node` from v3 to v4
- change `nick-fields/retry` from v2.8.3 to v2
- update `bluwy/release-for-reddit-action` from v1.2.0 to v2
- lock all CI runners to fixed version rather than latest
Diffstat (limited to '.github/workflows/tag-repos.yml')
-rw-r--r-- | .github/workflows/tag-repos.yml | 40 |
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 | ||
9 | jobs: | 9 | jobs: |
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: | |