Skip to content

Commit a0ecf71

Browse files
beautyfreeclaude
andcommitted
Drop legacy CI workflows; upload release assets direct to Releases
The old repo shipped three workflows from the pre-fork Tauri version: build.yml (Vite dist artifact — no longer meaningful since distribution is via Electrobun), ci.yml (version-sync check referencing the deleted Casks/skiller.rb), and pages.yml (GitHub Pages for a landing that targets branch docs and doesn't align with the current product). Remove them along with their helper scripts. Refactor release.yml to publish every build artifact straight to the GitHub Release instead of round-tripping through actions/upload-artifact. This keeps the release pipeline working even when the account-wide Actions artifact storage quota is exhausted — the only thing that matters is the Release itself, which has separate storage. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 8dda3fc commit a0ecf71

6 files changed

Lines changed: 48 additions & 304 deletions

File tree

.github/scripts/check-version-sync.sh

Lines changed: 0 additions & 54 deletions
This file was deleted.

.github/scripts/sync-version.sh

Lines changed: 0 additions & 117 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/workflows/pages.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 48 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
name: Release
22

3-
# Triggered by pushing a tag like v0.1.0. Builds the desktop app natively
4-
# on each OS (Electrobun does not cross-compile) and publishes all artifacts
5-
# to a single GitHub Release.
3+
# Triggered by pushing a tag like v0.1.0. Builds the desktop app natively on
4+
# each OS (Electrobun does not cross-compile) and uploads every build straight
5+
# to the GitHub Release — bypassing actions/upload-artifact so the workflow
6+
# keeps working even when the account-wide Actions artifact storage quota is
7+
# full.
68

79
on:
810
push:
@@ -17,8 +19,38 @@ concurrency:
1719
cancel-in-progress: false
1820

1921
jobs:
22+
# 1. Create a draft release up front so every platform job can append to it.
23+
prepare-release:
24+
name: Prepare draft release
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@v5
28+
29+
- name: Create or reset draft release
30+
uses: softprops/action-gh-release@v2
31+
with:
32+
tag_name: ${{ github.ref_name }}
33+
name: Skiller ${{ github.ref_name }}
34+
body: |
35+
Desktop installers — download the one that matches your OS:
36+
37+
- **macOS (Apple Silicon):** `stable-macos-arm64-Skiller.dmg` (signed + notarized)
38+
- **Windows (x64):** `stable-win-x64-Skiller.exe`
39+
- **Linux (x64):** `stable-linux-x64-Skiller.*`
40+
41+
After the first install, Skiller checks this release on launch and
42+
via **Settings → App Updates**. Updates are downloaded in the
43+
background (delta patches when available) and applied on next
44+
restart — no manual re-install required.
45+
draft: true
46+
prerelease: false
47+
generate_release_notes: true
48+
env:
49+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50+
2051
build-desktop:
2152
name: Build ${{ matrix.label }}
53+
needs: prepare-release
2254
runs-on: ${{ matrix.runner }}
2355
strategy:
2456
fail-fast: false
@@ -78,47 +110,31 @@ jobs:
78110
ELECTROBUN_APPLEAPIKEY: ${{ secrets.ELECTROBUN_APPLEAPIKEY }}
79111
run: bun run ${{ matrix.script }}
80112

81-
- name: Upload artifacts
82-
uses: actions/upload-artifact@v4
113+
# Upload every artifact directly to the draft Release. This avoids
114+
# actions/upload-artifact entirely — no Actions storage quota involved.
115+
- name: Upload build outputs to Release
116+
uses: softprops/action-gh-release@v2
83117
with:
84-
name: skiller-${{ matrix.label }}
85-
path: artifacts/
118+
tag_name: ${{ github.ref_name }}
119+
draft: true
120+
files: artifacts/*
121+
fail_on_unmatched_files: true
122+
env:
123+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
86124

87-
release:
88-
name: Publish GitHub Release
125+
publish-release:
126+
name: Publish release
89127
needs: build-desktop
90128
runs-on: ubuntu-latest
91129
steps:
92130
- uses: actions/checkout@v5
93131

94-
- name: Download build artifacts
95-
uses: actions/download-artifact@v4
96-
with:
97-
path: downloaded
98-
pattern: skiller-*
99-
merge-multiple: true
100-
132+
# Flip the draft to published once every platform job succeeded.
101133
- name: Publish release
102134
uses: softprops/action-gh-release@v2
103135
with:
104136
tag_name: ${{ github.ref_name }}
105-
name: Skiller ${{ github.ref_name }}
106-
body: |
107-
Desktop installers — download the one that matches your OS:
108-
109-
- **macOS (Apple Silicon):** `stable-macos-arm64-Skiller.dmg` (signed + notarized)
110-
- **Windows (x64):** `stable-win-x64-Skiller.exe`
111-
- **Linux (x64):** `stable-linux-x64-Skiller.*`
112-
113-
After the first install, Skiller checks this release on launch and
114-
via **Settings → App Updates**. Updates are downloaded in the
115-
background (delta patches when available) and applied on next
116-
restart — no manual re-install required.
117-
# Upload every artifact — including the stable-*-update.json and
118-
# .app.tar.zst files that Electrobun's Updater fetches.
119-
files: downloaded/*
120137
draft: false
121138
prerelease: false
122-
generate_release_notes: true
123139
env:
124140
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)