Skip to content

Commit

Permalink
Fix wrong indentation in workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
mstimberg committed Apr 21, 2023
1 parent 1733bbf commit aa7d7ac
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/publish_to_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,26 +77,26 @@ jobs:
name: packages
path: dist

deploy:
name: Publish to (Test)PyPI
runs-on: ubuntu-slim
environment: release
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
needs:
- build
- build-linux
steps:
- name: load distribution 📦
uses: actions/download-artifact@v3
with:
name: packages
path: dist/
- name: Publish distribution 📦 to Test PyPI
if: github.ref == 'refs/heads/master' && github.repository == 'brian-team/brian2'
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
- name: Publish distribution release 📦 to PyPI
if: ${{ startsWith(github.ref, 'refs/tags') && github.repository == 'brian-team/brian2' }}
uses: pypa/gh-action-pypi-publish@release/v1
deploy:
name: Publish to (Test)PyPI
runs-on: ubuntu-slim
environment: release
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
needs:
- build
- build-linux
steps:
- name: load distribution 📦
uses: actions/download-artifact@v3
with:
name: packages
path: dist/
- name: Publish distribution 📦 to Test PyPI
if: github.ref == 'refs/heads/master' && github.repository == 'brian-team/brian2'
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
- name: Publish distribution release 📦 to PyPI
if: ${{ startsWith(github.ref, 'refs/tags') && github.repository == 'brian-team/brian2' }}
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit aa7d7ac

Please sign in to comment.