Skip to content

Commit a090a90

Browse files
committed
release workflow
1 parent 91f8be7 commit a090a90

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/release.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: release
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*"
7+
8+
jobs:
9+
build:
10+
runs-on: ${{ matrix.os }}
11+
strategy:
12+
matrix:
13+
os: [macos-latest, windows-latest]
14+
python: ["3.9"]
15+
16+
steps:
17+
- uses: compas-dev/compas-actions.build@v4
18+
with:
19+
python: ${{ matrix.python }}
20+
invoke_lint: true
21+
invoke_test: true
22+
23+
Publish:
24+
needs: build
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: compas-dev/compas-actions.publish@v3
28+
with:
29+
pypi_token: ${{ secrets.PYPI }}
30+
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)