refactor: remove git-tag job's guard conditions

These guard conditions are now superfluous because the `git-tag` job depends on the `releases` job.

PR: #43
This commit is contained in:
innovaker 2021-05-14 19:12:34 +01:00
parent 30b4589480
commit 935b111322

View File

@ -271,14 +271,11 @@ jobs:
needs:
- tags
- releases
if: ${{ startsWith(github.ref, 'refs/tags') }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
if: ${{ github.ref == format('refs/tags/{0}', needs.tags.outputs.release-trigger) }}
- name: Tag
if: ${{ github.ref == format('refs/tags/{0}', needs.tags.outputs.release-trigger) }}
env:
TAG: ${{ needs.tags.outputs.major-minor }}
run: |