We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36feeb4 commit 465d4a5Copy full SHA for 465d4a5
1 file changed
.github/workflows/test.yml
@@ -0,0 +1,22 @@
1
+name: example
2
+on:
3
+ push:
4
+ branches:
5
+ - 32376-previous-version-gha-test
6
+jobs:
7
+ trigger-branch-deployment:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - id: checkout
11
+ uses: actions/checkout@v4
12
+ with:
13
+ ref: "main"
14
+ fetch-depth: 0 # To fetch tags as well - required for tags processing
15
+ - id: prev_version
16
+ uses: camunda/infra-global-github-actions/previous-version@32376-previous-version-gha-test
17
18
+ version: '1.0.1'
19
+ verbose: 'true'
20
+ - run: |
21
+ echo ${{ steps.prev_version.outputs.previous_version }}
22
+ echo ${{ steps.prev_version.outputs.release_type }}
0 commit comments