Skip to content

Commit

Permalink
Fix release CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Pessimistress committed Apr 24, 2024
1 parent 3dfeb55 commit 64171f4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ permissions:
jobs:
check_tag:
runs-on: ubuntu-latest
continue-on-error: true

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
Expand All @@ -21,14 +20,13 @@ jobs:
run: git fetch --tags -f

- name: Get version from git tag
run: git describe --exact-match HEAD | grep '^v'

run: echo "version=$(git describe --exact-match HEAD | grep '^v' || false)" >> "$GITHUB_OUTPUT"

release:
runs-on: ubuntu-latest
needs: check_tag

if: ${{ github.repository_owner == 'visgl' && needs.check_tag.result == 'success' }}
if: ${{ github.repository_owner == 'visgl' && needs.check_tag.version }}

env:
ADMIN_TOKEN: ${{ secrets.ADMIN_TOKEN }}
Expand Down

0 comments on commit 64171f4

Please sign in to comment.