mirror of
https://codefloe.com/Jonas8272/scoop-bucket.git
synced 2026-12-01 00:19:36 +00:00
mica-for-everyone: install the signed MSIX from GitHub releases (no winget), add autoupdate
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XFn3QekarqiDEYnrbupCyz
This commit is contained in:
1 parent
0e14f5c42e
commit
dd36ec804f
5 files changed
+170
-20
No files matched your search
@@ -0,0 +1,30 @@
|
||||
name: autoupdate-mica-for-everyone
|
||||
on:
|
||||
schedule:
|
||||
- cron: '53 */6 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
update:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: data.forgejo.org/oci/node:20-bookworm
|
||||
steps:
|
||||
- name: Install tools
|
||||
run: apt-get update -qq && apt-get install -y -qq jq
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Update manifest
|
||||
env:
|
||||
GH_API_TOKEN: ${{ secrets.GH_API_TOKEN }}
|
||||
run: tr -d '\r' < scripts/update-mica-for-everyone.sh | bash
|
||||
|
||||
- name: Commit and push
|
||||
run: |
|
||||
git config user.name "autoupdate"
|
||||
git config user.email "[email protected]"
|
||||
if ! git diff --quiet; then
|
||||
git commit -am "mica-for-everyone: update to $(jq -r .version bucket/mica-for-everyone.json)"
|
||||
git push
|
||||
fi
|
||||
Reference in new issue
Block a user