Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
34b0699e2b | ||
|
|
8d6672e5a3 | ||
|
|
fef95baa40 |
@@ -42,7 +42,6 @@ jobs:
|
|||||||
name: 3. RESULT
|
name: 3. RESULT
|
||||||
runs-on: ubuntu
|
runs-on: ubuntu
|
||||||
needs: [build,test]
|
needs: [build,test]
|
||||||
if: ${{ needs.test.outputs.is_beta == 'false' }}
|
|
||||||
env:
|
env:
|
||||||
VERSION: ${{ needs.test.outputs.version }}
|
VERSION: ${{ needs.test.outputs.version }}
|
||||||
IS_BETA: ${{ needs.build.outputs.is_beta }}
|
IS_BETA: ${{ needs.build.outputs.is_beta }}
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Get Commit Tag
|
- name: Get Commit Tag
|
||||||
id: commit
|
id: commit
|
||||||
run: echo "tag=$(git describe --contains ${{ env.COMMIT_SHA }})" >> $GITEA_OUTPUT
|
run: echo "tag=$(git for-each-ref --sort=-refname --format='%(refname:strip=2)' refs/tags --contains ${{ env.COMMIT_SHA }} | head -n 1)" >> $GITEA_OUTPUT
|
||||||
- name: Show Tag
|
- name: Show Tag
|
||||||
run: echo "${{ steps.commit.outputs.tag }}"
|
run: echo "${{ steps.commit.outputs.tag }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user