We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 189e361 + 794ced2 commit 7a14ef1Copy full SHA for 7a14ef1
1 file changed
.github/workflows/edpm-bootc.yaml
@@ -42,14 +42,12 @@ jobs:
42
steps:
43
- uses: actions/checkout@v4
44
45
- - name: Get branch name
46
- id: branch-name
47
- uses: tj-actions/branch-names@v8
48
-
49
- name: Set latest tag for non main branch
50
- if: "${{ steps.branch-name.outputs.current_branch != 'main' }}"
+ if: github.ref_name != 'main'
+ env:
+ BRANCH_NAME: ${{ github.ref_name }}
51
run: |
52
- echo "latesttag=${{ steps.branch-name.outputs.current_branch }}-latest" >> $GITHUB_ENV
+ echo "latesttag=${BRANCH_NAME}-latest" >> $GITHUB_ENV
53
54
- name: Set EDPM_* env vars
55
0 commit comments