fix(build): update usage of publish snap action (#3272)

* fix(build): use env variable to login with snapcraft 7

* refactor(build): replace deprecated set-output command in GHA

* fix(build): use correct environment variable for output

* style(build): run prettier
This commit is contained in:
Danshil Kokil Mungur
2023-01-27 04:48:40 +04:00
committed by GitHub
parent 374c78c989
commit 51b05cd8fb
4 changed files with 15 additions and 13 deletions

View File

@@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v3
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx