@@ -58,14 +58,14 @@ jobs:
5858 # with:
5959 # fileName: 'win-certificate.pfx'
6060 # encodedString: ${{ secrets.CERTIFICATE_WINDOWS_PFX }}
61- - name : Setup LXD
62- if : startsWith(matrix.os, 'ubuntu') && startsWith(github.ref, 'refs/tags/')
63- 64- - name : Setup Snapcraft for Publishing
65- if : startsWith(matrix.os, 'ubuntu') && startsWith(github.ref, 'refs/tags/')
66- run : |
67- sudo snap install snapcraft --classic
68- echo "/snap/bin" >> $GITHUB_PATH
61+ # - name: Setup LXD
62+ # if: startsWith(matrix.os, 'ubuntu') && startsWith(github.ref, 'refs/tags/')
63+ # uses: canonical/[email protected] 64+ # - name: Setup Snapcraft for Publishing
65+ # if: startsWith(matrix.os, 'ubuntu') && startsWith(github.ref, 'refs/tags/')
66+ # run: |
67+ # sudo snap install snapcraft --classic
68+ # echo "/snap/bin" >> $GITHUB_PATH
6969 - name : Make
7070 if : startsWith(github.ref, 'refs/tags/')
7171 run : pnpm make
@@ -74,19 +74,19 @@ jobs:
7474 APPLE_ID_PASSWORD : ${{ secrets.APPLE_ID_PASSWORD }}
7575 # WINDOWS_PFX_FILE: ${{ steps.write_file.outputs.filePath }}
7676 # WINDOWS_PFX_PASSWORD: ${{ secrets.WINDOWS_PFX_PASSWORD }}
77- - name : Publish Snap to Snap Store
78- if : startsWith(matrix.os, 'ubuntu') && startsWith(github.ref, 'refs/tags/')
79- run : |
80- if [[ "${{ matrix.os }}" == "ubuntu-22.04-arm" ]]; then
81- SNAP_ARCH="arm64"
82- ELECTRON_ARCH="arm64"
83- else
84- SNAP_ARCH="amd64"
85- ELECTRON_ARCH="x64"
86- fi
87- snapcraft upload $(find out/make/snap/${ELECTRON_ARCH}/ -name "swach_*_${SNAP_ARCH}.snap") --release latest/stable
88- env :
89- SNAPCRAFT_STORE_CREDENTIALS : ${{ secrets.SNAPCRAFT_TOKEN }}
77+ # - name: Publish Snap to Snap Store
78+ # if: startsWith(matrix.os, 'ubuntu') && startsWith(github.ref, 'refs/tags/')
79+ # run: |
80+ # if [[ "${{ matrix.os }}" == "ubuntu-22.04-arm" ]]; then
81+ # SNAP_ARCH="arm64"
82+ # ELECTRON_ARCH="arm64"
83+ # else
84+ # SNAP_ARCH="amd64"
85+ # ELECTRON_ARCH="x64"
86+ # fi
87+ # snapcraft upload $(find out/make/snap/${ELECTRON_ARCH}/ -name "swach_*_${SNAP_ARCH}.snap") --release latest/stable
88+ # env:
89+ # SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
9090 - name : GitHub release
9191 uses : softprops/action-gh-release@v1
9292 if : startsWith(github.ref, 'refs/tags/')
0 commit comments