Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvanmele committed Jan 27, 2024
1 parent 747bd58 commit e569252
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ name: release
on:
push:
tags:
- 'v*'
- "v*"

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python: ['3.8', '3.9', '3.10']
python: ["3.8", "3.9", "3.10"]

steps:
- uses: compas-dev/compas-actions.build@v3
Expand All @@ -23,8 +23,11 @@ jobs:
Publish:
needs: build
runs-on: ubuntu-latest
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: compas-dev/compas-actions.publish@v2
with:
pypi_token: ${{ secrets.PYPI }}
github_token: ${{ secrets.TOKEN }}
# with:
# pypi_token: ${{ secrets.PYPI }}
# github_token: ${{ secrets.TOKEN }}

0 comments on commit e569252

Please sign in to comment.