snap with ver
This commit is contained in:
parent
5ab6686d96
commit
8840995f41
1 changed files with 12 additions and 1 deletions
13
.github/workflows/snap.yaml
vendored
13
.github/workflows/snap.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue