mirror of
https://codefloe.com/Jonas8272/scoop-bucket.git
synced 2026-11-30 23:09:35 +00:00
add jdownloader (official bootstrap JAR via Scoop Java): manifest, daily hash updater, install script, README
This commit is contained in:
1 parent
a1dbe5e10a
commit
53b4e13857
6 files changed
+192
No files matched your search
@@ -0,0 +1,28 @@
|
||||
name: autoupdate-jdownloader
|
||||
on:
|
||||
schedule:
|
||||
- cron: '53 5 * * *'
|
||||
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
|
||||
run: tr -d '\r' < scripts/update-jdownloader.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 "jdownloader: update to $(jq -r .version bucket/jdownloader.json)"
|
||||
git push
|
||||
fi
|
||||
Reference in new issue
Block a user