mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-19 22:46:14 -05:00
ci: simplify aur publish workflow
This commit is contained in:
1 file changed
+1
-10
@@ -49,13 +49,11 @@ jobs:
|
|||||||
desktop-file-utils \
|
desktop-file-utils \
|
||||||
file \
|
file \
|
||||||
git \
|
git \
|
||||||
jq \
|
|
||||||
libappindicator-gtk3 \
|
libappindicator-gtk3 \
|
||||||
libsecret \
|
libsecret \
|
||||||
libxml2 \
|
libxml2 \
|
||||||
namcap \
|
namcap \
|
||||||
openconnect \
|
openconnect \
|
||||||
openssh \
|
|
||||||
openssl \
|
openssl \
|
||||||
pkgconf \
|
pkgconf \
|
||||||
librsvg \
|
librsvg \
|
||||||
@@ -96,7 +94,7 @@ jobs:
|
|||||||
- name: Run namcap
|
- name: Run namcap
|
||||||
run: |
|
run: |
|
||||||
cd "$AUR_PACKAGE_DIR"
|
cd "$AUR_PACKAGE_DIR"
|
||||||
runuser -u builder -- namcap PKGBUILD .SRCINFO
|
runuser -u builder -- namcap PKGBUILD
|
||||||
|
|
||||||
- name: Build package
|
- name: Build package
|
||||||
if: ${{ github.event_name == 'workflow_dispatch' && inputs['build-package'] }}
|
if: ${{ github.event_name == 'workflow_dispatch' && inputs['build-package'] }}
|
||||||
@@ -118,13 +116,6 @@ jobs:
|
|||||||
printf '%s\n' "$AUR_SSH_PRIVATE_KEY" > ~/.ssh/aur
|
printf '%s\n' "$AUR_SSH_PRIVATE_KEY" > ~/.ssh/aur
|
||||||
chmod 600 ~/.ssh/aur
|
chmod 600 ~/.ssh/aur
|
||||||
ssh-keyscan -t rsa,ecdsa,ed25519 aur.archlinux.org > ~/.ssh/known_hosts
|
ssh-keyscan -t rsa,ecdsa,ed25519 aur.archlinux.org > ~/.ssh/known_hosts
|
||||||
printf '%s\n' \
|
|
||||||
"Host aur.archlinux.org" \
|
|
||||||
" IdentityFile ~/.ssh/aur" \
|
|
||||||
" UserKnownHostsFile ~/.ssh/known_hosts" \
|
|
||||||
" User aur" \
|
|
||||||
" StrictHostKeyChecking yes" \
|
|
||||||
> ~/.ssh/config
|
|
||||||
|
|
||||||
- name: Publish to AUR
|
- name: Publish to AUR
|
||||||
if: ${{ github.event_name == 'workflow_dispatch' && inputs.publish }}
|
if: ${{ github.event_name == 'workflow_dispatch' && inputs.publish }}
|
||||||
|
|||||||
Reference in new issue
Block a user