File tree Expand file tree Collapse file tree 1 file changed +14
-30
lines changed Expand file tree Collapse file tree 1 file changed +14
-30
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+
1
3
on :
2
4
push :
3
5
tags :
4
- - " v*"
5
-
6
- name : Create Release
6
+ - ' v*'
7
7
8
8
jobs :
9
- build :
10
- runs-on : ${{ matrix.os }}
11
- strategy :
12
- matrix :
13
- os : [macos-latest, ubuntu-latest]
14
- python : ["3.9", "3.10"]
15
-
16
- steps :
17
- - uses : actions/checkout@v2
18
- -
uses :
conda-incubator/[email protected]
19
- with :
20
- miniconda-version : " latest"
21
- channels : conda-forge
22
- python-version : ${{ matrix.python-version }}
23
-
24
- - uses : compas-dev/compas-actions.build@v4
25
- with :
26
- invoke_lint : true
27
- invoke_test : true
28
- use_conda : true
29
- python : ${{ matrix.python }}
30
-
31
- Publish :
32
- needs : build
9
+ Release :
33
10
runs-on : ubuntu-latest
34
11
steps :
35
- - uses : compas-dev/compas-actions.publish@v3
12
+ - uses : actions/checkout@v2
13
+ - name : Create Release
14
+ id : create_release
15
+ uses : actions/create-release@v1
16
+ env :
17
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36
18
with :
37
- pypi_token : ${{ secrets.PYPI }}
38
- github_token : ${{ secrets.GITHUB_TOKEN }}
19
+ tag_name : ${{ github.ref }}
20
+ release_name : Release ${{ github.ref }}
21
+ draft : false
22
+ prerelease : false
You can’t perform that action at this time.
0 commit comments