snap with ver

This commit is contained in:
Boshi Lian 2022-04-03 03:42:31 -07:00 committed by GitHub
parent 5ab6686d96
commit 8840995f41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,17 @@ jobs:
- name: Check out code
uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: dotnet/nbgv@master
with:
setAllVars: true
- name: set ver
uses: mikefarah/yq@master
with:
cmd: yq -i '.version = "${{ env.NBGV_SimpleVersion }}"' sshpiperd/snap/snapcraft.yaml
- name: Dep
env:
@ -32,4 +43,4 @@ jobs:
- name: push
run: snap run snapcraft push *.snap
working-directory: sshpiperd/snap
working-directory: sshpiperd/snap