aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2026-02-24 17:53:03 +0800
committerGitHub <noreply@github.com>2026-02-24 17:53:03 +0800
commitb1e2c8ea075c661c7f6c98908ef2f4980c295bbd (patch)
tree8f3482810cea2b8d672d6406ed103613ffa5ab0a /.github/workflows
parent246d8d041d35da480f718aae449c681c5c854e39 (diff)
downloadsoon-b1e2c8ea075c661c7f6c98908ef2f4980c295bbd.tar.gz
soon-b1e2c8ea075c661c7f6c98908ef2f4980c295bbd.zip
Update publish-aur.yml
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/publish-aur.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/publish-aur.yml b/.github/workflows/publish-aur.yml
index 7eb3eb4..c12df6a 100644
--- a/.github/workflows/publish-aur.yml
+++ b/.github/workflows/publish-aur.yml
@@ -35,9 +35,13 @@
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
+ - name: Clone AUR repo
+ run: |
+ GIT_SSH_COMMAND="ssh -i ~/.ssh/id_ed25519 -o UserKnownHostsFile=~/.ssh/known_hosts" git clone ssh://aur@aur.archlinux.org/soon.git aur-push
+
- name: Update PKGBUILD and .SRCINFO
run: |
- cd $GITHUB_WORKSPACE
+ cd aur-push
if [ "${{ github.event_name }}" = "workflow_dispatch" ] && [ -n "${{ github.event.inputs.tag }}" ]; then
TAG="${{ github.event.inputs.tag }}"
else
@@ -49,5 +53,5 @@
- name: Publish to AUR with aurpublish
run: |
- cd $GITHUB_WORKSPACE
+ cd aur-push
GIT_SSH_COMMAND="ssh -i ~/.ssh/id_ed25519 -o UserKnownHostsFile=~/.ssh/known_hosts" aurpublish soon