Skip to content

Commit e492c3f

Browse files
Update release.yml
1 parent 8c48aed commit e492c3f

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,16 @@ jobs:
7676
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
7777
# WINDOWS_PFX_FILE: ${{ steps.write_file.outputs.filePath }}
7878
# WINDOWS_PFX_PASSWORD: ${{ secrets.WINDOWS_PFX_PASSWORD }}
79-
- name: Publish to Snap Store
79+
- name: List files in out directory
8080
if: matrix.os == 'ubuntu-22.04' && startsWith(github.ref, 'refs/tags/')
81-
run: pnpm run publish --no-git-checks
81+
run: |
82+
echo "Contents of out directory:"
83+
ls -la out/
84+
echo "Looking for snap files:"
85+
find out/ -name "*.snap" -o -name "*snap*" | head -10
86+
- name: Publish Snap to Snap Store
87+
if: matrix.os == 'ubuntu-22.04' && startsWith(github.ref, 'refs/tags/')
88+
run: snapcraft push $(ls out/*.snap | head -1) --release latest/stable
8289
# - name: Make Apple arm64
8390
# if: matrix.os == 'macos-11.0' && startsWith(github.ref, 'refs/tags/')
8491
# run: pnpm make --arch=arm64

0 commit comments

Comments
 (0)