github actions is literally the worst
This commit is contained in:
parent
ddcf08d241
commit
19e76cdd87
5
.github/workflows/build_and_release.yml
vendored
5
.github/workflows/build_and_release.yml
vendored
@ -22,11 +22,14 @@ jobs:
|
|||||||
run: poetry install
|
run: poetry install
|
||||||
- name: build the sucker
|
- name: build the sucker
|
||||||
run: make build
|
run: make build
|
||||||
|
# https://stackoverflow.com/a/64195658
|
||||||
|
- name: Add SHORT_SHA env property with commit short sha
|
||||||
|
run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV
|
||||||
- uses: ncipollo/release-action@v1
|
- uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
artifacts: "utils"
|
artifacts: "utils"
|
||||||
body: "It's releasin' time"
|
body: "It's releasin' time"
|
||||||
generateReleaseNotes: true
|
generateReleaseNotes: true
|
||||||
tag: ${{ github.sha }}
|
tag: ${SHORT_SHA}
|
||||||
commit: master
|
commit: master
|
||||||
token: ${{ secrets.PAT }}
|
token: ${{ secrets.PAT }}
|
||||||
|
Loading…
Reference in New Issue
Block a user