mirror of
https://github.com/RubyMetric/chsrc.git
synced 2024-11-25 02:15:11 +08:00
fix checking valid
This commit is contained in:
parent
9eeeca23d7
commit
8cd4fa0d1a
2
.github/workflows/pkg-aur-bin.yml
vendored
2
.github/workflows/pkg-aur-bin.yml
vendored
|
@ -27,9 +27,11 @@ jobs:
|
|||
echo "valid=1" >> $GITHUB_ENV
|
||||
fi
|
||||
- name: Fetch PKGBUILD
|
||||
if: env.valid == '1'
|
||||
run: |
|
||||
wget https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD\?h\=chsrc -O ./PKGBUILD
|
||||
- name: Update PKGBUILD
|
||||
if: env.valid == '1'
|
||||
run: |
|
||||
sed -i "s/pkgver=.*/pkgver=$version/" PKGBUILD
|
||||
- name: Publish to AUR
|
||||
|
|
Loading…
Reference in New Issue
Block a user