File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6666 run : |
6767 sudo snap install snapcraft --classic
6868 echo "/snap/bin" >> $GITHUB_PATH
69- mkdir -p .snapcraft
70- echo "${{ secrets.snapcraft_token }}" > .snapcraft/snapcraft.cfg
7169 - name : Make
7270 if : startsWith(github.ref, 'refs/tags/')
7371 run : pnpm make
8583 find out/ -name "*.snap" -o -name "*snap*" | head -10
8684 - name : Publish Snap to Snap Store
8785 if : matrix.os == 'ubuntu-22.04' && startsWith(github.ref, 'refs/tags/')
88- run : snapcraft push $(find out/make/snap/x64/ -name "swach_*_amd64.snap") --release latest/stable
86+ run : snapcraft upload $(find out/make/snap/x64/ -name "swach_*_amd64.snap") --release latest/stable
87+ env :
88+ SNAPCRAFT_STORE_CREDENTIALS : ${{ secrets.snapcraft_token }}
8989 # - name: Make Apple arm64
9090 # if: matrix.os == 'macos-11.0' && startsWith(github.ref, 'refs/tags/')
9191 # run: pnpm make --arch=arm64
You can’t perform that action at this time.
0 commit comments