mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 09:38:29 +00:00
feat: temporarily disable Snap Store publishing and update README instructions
This commit is contained in:
43
.github/workflows/release.yml
vendored
43
.github/workflows/release.yml
vendored
@@ -41,10 +41,6 @@ on:
|
||||
description: "Publish to crates.io"
|
||||
type: boolean
|
||||
default: false
|
||||
run_snap:
|
||||
description: "Publish to Snap Store (dcrup)"
|
||||
type: boolean
|
||||
default: false
|
||||
run_brew:
|
||||
description: "Update Homebrew tap"
|
||||
type: boolean
|
||||
@@ -1248,34 +1244,11 @@ jobs:
|
||||
git commit -m "dcr ${{ needs.setup.outputs.version }}"
|
||||
git push
|
||||
|
||||
# ── Snap Store (dcrup) ─────────────────────────────────────────────────────
|
||||
publish-snap:
|
||||
if: |
|
||||
(github.event_name == 'push' && needs.setup.outputs.prerelease == 'false') ||
|
||||
(github.event_name == 'workflow_dispatch' && github.event.inputs.run_snap == 'true')
|
||||
needs: [setup, build-linux-packages]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Download Built Packages
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: snap-package
|
||||
path: dist-packages
|
||||
|
||||
- name: Resolve Snap File
|
||||
id: snap-file
|
||||
run: |
|
||||
snap_file=$(ls dist-packages/*.snap 2>/dev/null | head -1)
|
||||
if [ -z "$snap_file" ]; then
|
||||
echo "No .snap file found in dist-packages/"
|
||||
exit 1
|
||||
fi
|
||||
echo "snap=$snap_file" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Publish to Snap Store
|
||||
uses: snapcore/action-publish@v1
|
||||
env:
|
||||
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAP_STORE_LOGIN }}
|
||||
with:
|
||||
snap: ${{ steps.snap-file.outputs.snap }}
|
||||
release: stable
|
||||
# ── Snap Store (dcrup) — temporarily disabled ────────────────────────────
|
||||
# Classic confinement was denied for this project (too new).
|
||||
# Snap artifact is still built and attached to the release via
|
||||
# publish-dexoron-packages. Users can install manually:
|
||||
# sudo snap install --classic --dangerous dcrup_*.snap
|
||||
#
|
||||
# publish-snap:
|
||||
# if: ...
|
||||
Reference in New Issue
Block a user