Skip to content

Commit

Permalink
Merge pull request #572 from niccokunzmann/issue-571-invalid-workflow
Browse files Browse the repository at this point in the history
remove spaces in front of github release section
  • Loading branch information
niccokunzmann authored Oct 25, 2023
2 parents 17aa767 + 62df0be commit 1dbc685
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,19 +111,19 @@ jobs:
twine check dist/*
twine upload dist/*
deploy-github-release:
# only deploy on tags, see https://stackoverflow.com/a/58478262/1320237
if: startsWith(github.ref, 'refs/tags/v')
needs:
- run-tests
runs-on: ubuntu-latest
environment:
name: github-release
steps:
- uses: actions/checkout@v2
- name: create release
uses: elgohr/Github-Release-Action@v4
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
with:
title: ${{ github.ref_name }}
deploy-github-release:
# only deploy on tags, see https://stackoverflow.com/a/58478262/1320237
if: startsWith(github.ref, 'refs/tags/v')
needs:
- run-tests
runs-on: ubuntu-latest
environment:
name: github-release
steps:
- uses: actions/checkout@v2
- name: create release
uses: elgohr/Github-Release-Action@v4
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
with:
title: ${{ github.ref_name }}

0 comments on commit 1dbc685

Please sign in to comment.