github actions is literally the worst

This commit is contained in:
Joe Kaufeld 2022-07-22 22:20:07 -04:00
parent ddcf08d241
commit 19e76cdd87

View File

@ -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 }}