-
Notifications
You must be signed in to change notification settings - Fork 3
48 lines (44 loc) · 1.33 KB
/
push-tag-to-extensions.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
# yamllint disable rule:line-length
name: Push new tagged version
on: # yamllint disable-line rule:truthy
workflow_dispatch:
push:
# Pattern matched against refs/tags
tags:
- '*'
jobs:
set-version:
runs-on: ubuntu-latest
outputs:
CODECOV_WRAPPER_VERSION: ${{ steps.version_output.outputs.CODECOV_WRAPPER_VERSION }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set version variable
id: version_output
run: |
version=$(cat scripts/version.sh | grep 'CODECOV_WRAPPER_VERSION=' | cut -d\" -f2)
echo $version
echo "CODECOV_WRAPPER_VERSION=$version" >> $GITHUB_OUTPUT
bitrise-step:
needs: set-version
uses: ./.github/workflows/push-tag.yml
with:
repository: "codecov-bitrise"
version: "${{ needs.set-version.outputs.CODECOV_WRAPPER_VERSION }}"
secrets: inherit
circleci-orb:
needs: set-version
uses: ./.github/workflows/push-tag.yml
with:
repository: "codecov-circleci-orb"
version: "${{ needs.set-version.outputs.CODECOV_WRAPPER_VERSION }}"
secrets: inherit
github-action:
needs: set-version
uses: ./.github/workflows/push-tag.yml
with:
repository: "codecov-action"
version: "${{ needs.set-version.outputs.CODECOV_WRAPPER_VERSION }}"
secrets: inherit