You've already forked .autoupdate
Compare commits
2 Commits
8d067256a0
...
ce7698e524
| Author | SHA1 | Date | |
|---|---|---|---|
| ce7698e524 | |||
| 0f24e788d6 |
@@ -17,6 +17,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- run: |
|
- run: |
|
||||||
|
apt-get --quiet update && apt-get --quiet --assume-yes install makepkg
|
||||||
git config --global user.name "${GIT_NAME}"
|
git config --global user.name "${GIT_NAME}"
|
||||||
git config --global user.email "${GIT_EMAIL}"
|
git config --global user.email "${GIT_EMAIL}"
|
||||||
git config --global credential.helper store
|
git config --global credential.helper store
|
||||||
|
|||||||
33
.gitea/workflows/nethlink-appimage.yaml
Normal file
33
.gitea/workflows/nethlink-appimage.yaml
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
---
|
||||||
|
name: Update nethlink-appimage Package
|
||||||
|
|
||||||
|
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: |
|
||||||
|
apt-get --quiet update && apt-get --quiet --assume-yes install makepkg
|
||||||
|
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_HOST}" > ~/.git-credentials
|
||||||
|
git clone --depth 1 https://${GIT_HOST}/aur/nethlink-appimage
|
||||||
|
cd nethlink-appimage
|
||||||
|
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|v||')
|
||||||
|
env:
|
||||||
|
GIT_NAME: ${{ vars.GIT_NAME }}
|
||||||
|
GIT_EMAIL: ${{ vars.GIT_EMAIL }}
|
||||||
|
GIT_HOST: ${{ vars.GIT_HOST }}
|
||||||
|
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
|
||||||
@@ -17,6 +17,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- run: |
|
- run: |
|
||||||
|
apt-get --quiet update && apt-get --quiet --assume-yes install makepkg
|
||||||
git config --global user.name "${GIT_NAME}"
|
git config --global user.name "${GIT_NAME}"
|
||||||
git config --global user.email "${GIT_EMAIL}"
|
git config --global user.email "${GIT_EMAIL}"
|
||||||
git config --global credential.helper store
|
git config --global credential.helper store
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- run: |
|
- run: |
|
||||||
|
apt-get --quiet update && apt-get --quiet --assume-yes install makepkg
|
||||||
git config --global user.name "${GIT_NAME}"
|
git config --global user.name "${GIT_NAME}"
|
||||||
git config --global user.email "${GIT_EMAIL}"
|
git config --global user.email "${GIT_EMAIL}"
|
||||||
git config --global credential.helper store
|
git config --global credential.helper store
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- run: |
|
- run: |
|
||||||
|
apt-get --quiet update && apt-get --quiet --assume-yes install makepkg
|
||||||
git config --global user.name "${GIT_NAME}"
|
git config --global user.name "${GIT_NAME}"
|
||||||
git config --global user.email "${GIT_EMAIL}"
|
git config --global user.email "${GIT_EMAIL}"
|
||||||
git config --global credential.helper store
|
git config --global credential.helper store
|
||||||
|
|||||||
Reference in New Issue
Block a user