mirror of
https://codefloe.com/Jonas8272/scoop-bucket.git
synced 2026-11-30 23:09:35 +00:00
vmware-workstation-pro: add autoupdate workflow (every 6 hours)
The script picks the newest build in the archive.org item, downloads it, checks size/md5 and the Broadcom signature, then pins the SHA-256. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XFn3QekarqiDEYnrbupCyz
This commit is contained in:
1 parent
46c20f94f1
commit
b36ae2b806
2 files changed
+101
No files matched your search
@@ -0,0 +1,28 @@
|
||||
name: autoupdate-vmware-workstation-pro
|
||||
on:
|
||||
schedule:
|
||||
- cron: '17 */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 curl ca-certificates osslsigncode
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Update manifest
|
||||
run: tr -d '\r' < scripts/update-vmware-workstation-pro.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 "vmware-workstation-pro: update to $(jq -r .version bucket/vmware-workstation-pro.json)"
|
||||
git push
|
||||
fi
|
||||
Reference in new issue
Block a user