Compare commits

..
7 Commits
Author SHA1 Message Date
bryanpedini 081691d1bb moved sed from PKGBUILD to push.sh
Update Package Version / update (push) Successful in 25s
2026-04-10 18:44:05 +02:00
bryanpedini 2edbc6943d no updates is not an error 2026-04-10 15:57:16 +02:00
bryanpedini 1eadebf0a5 added workflow 2026-04-10 15:46:45 +02:00
bryanpedini 20e915328b first commit 2026-04-10 14:53:08 +02:00
zxp19821005 a5b32ca5f1 fix errors 2023-07-04 17:41:14 +08:00
zxp19821005 cb107169b7 fix depends 2023-07-03 09:16:48 +08:00
zxp19821005 816a30647e first release 2023-04-24 19:13:01 +08:00
+32
View File
@@ -0,0 +1,32 @@
---
name: Update Package Version
concurrency:
group: update-package-version
cancel-in-progress: false
on:
schedule:
- cron: "0 0 * * *"
defaults:
run:
shell: bash
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: |
git config --global user.name "${GIT_NAME}"
git config --global user.email "${GIT_EMAIL}"
git config --global credential.helper store
echo "https://${GIT_EMAIL//@/%40}:${GIT_TOKEN}@git.bjphoster.com" > ~/.git-credentials
source PKGBUILD
./push.sh $(curl -L -H "Accept: application/vnd.github+json" https://api.github.com/repos/${_srcmntr}/${_srcname}/releases/latest | jq ".tag_name" | sed 's|"||g;s|app-v||')
env:
GIT_NAME: ${{ secrets.GIT_NAME }}
GIT_EMAIL: ${{ secrets.GIT_EMAIL }}
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}