File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 13
13
uses : actions/checkout@v3
14
14
- name : Get the Git tag name
15
15
id : get-tag-name
16
- run : echo "tag-name=${GITHUB_REF/refs\/tags\/v/}"
16
+ run : echo "tag-name=${GITHUB_REF/refs\/tags\/v/}" >> "$GITHUB_OUTPUT"
17
17
- name : Create Release
18
- uses : actions/create-release@v2
18
+ uses : actions/create-release@v1
19
19
env :
20
20
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
21
21
with :
Original file line number Diff line number Diff line change 56
56
steps :
57
57
- name : Checkout commit
58
58
uses : actions/checkout@v3
59
+ - name : Get the Git tag name
60
+ id : get-tag-name
61
+ run : echo "tag-name=${GITHUB_REF/refs\/tags\/v/}" >> "$GITHUB_OUTPUT"
59
62
- name : Set up Python
60
63
id : setup-python
61
64
uses : actions/setup-python@v3
64
67
pip install -r ./requirements.txt
65
68
pip install build
66
69
- name : Execute build
70
+ env :
71
+ ROOKIFY_VERSION : ${{ steps.get-tag-name.outputs.tag-name }}
67
72
run : |-
68
73
python -m build .
69
74
- name : Publish package
You can’t perform that action at this time.
0 commit comments