HeNine 2 years ago
parent 96dea6eea8
commit cbd665950f

@ -1,4 +1,4 @@
name: Publish Cargo package name: Publish Cargo and Docker package
run-name: ${{ github.actor }} is building ${{ github.repository }} run-name: ${{ github.actor }} is building ${{ github.repository }}
on: on:
push: push:
@ -35,11 +35,11 @@ jobs:
- name: Check out repository code - name: Check out repository code
uses: https://github.com/actions/checkout@v3 uses: https://github.com/actions/checkout@v3
- name: Write release version # - name: Write release version
run: | # run: |
VERSION=${GITHUB_REF_NAME#v} # VERSION=${GITHUB_REF_NAME#v}
echo Version: $VERSION # echo Version: $VERSION
echo "VERSION=$VERSION" >> $GITHUB_ENV # echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Install Docker - name: Install Docker
run: curl -fsSL https://get.docker.com | sh run: curl -fsSL https://get.docker.com | sh

Loading…
Cancel
Save