FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Querya-Desktop/.github/workflows/aur-publish.yml at main · QueryaHub/Querya-Desktop · GitHub
QueryaHub
/
Querya-Desktop
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
21
Code
Issues
15
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Querya-Desktop
/
.github
/
workflows
/
aur-publish.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
47 lines (41 loc) · 1.39 KB
Breadcrumbs
Querya-Desktop
/
.github
/
workflows
/
aur-publish.yml
Copy path
File metadata and controls
47 lines (41 loc) · 1.39 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#
Manual AUR publish (hotfix / re-publish). Normal path: Release workflow → publish-aur job.
#
#
First push creates the AUR repo automatically. Requires secret AUR_SSH_PRIVATE_KEY.
name
:
Publish AUR (querya-desktop)
on
:
workflow_dispatch
:
inputs
:
version
:
description
:
'
pkgver (e.g. 0.4.12) — Querya-Desktop-{version}-linux.zip must exist on GitHub Releases
'
required
:
true
type
:
string
release_tag
:
description
:
'
GitHub Release tag if different from version (e.g. v0.4.12); leave empty to auto-try
'
required
:
false
type
:
string
jobs
:
aur
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v4
-
name
:
Require AUR SSH secret
env
:
KEY
:
${{ secrets.AUR_SSH_PRIVATE_KEY }}
run
:
|
if [ -z "${KEY:-}" ]; then
echo "Missing repository secret AUR_SSH_PRIVATE_KEY" >&2
exit 1
fi
-
name
:
SSH agent
uses
:
webfactory/ssh-agent@v0.9.0
with
:
ssh-private-key
:
${{ secrets.AUR_SSH_PRIVATE_KEY }}
-
name
:
Publish to AUR
env
:
RELEASE_TAG
:
${{ github.event.inputs.release_tag }}
run
:
|
set -euo pipefail
VER="${{ github.event.inputs.version }}"
TAG="${RELEASE_TAG:-$VER}"
chmod +x ./scripts/linux/aur_publish.sh
./scripts/linux/aur_publish.sh "$VER" "$TAG"
Back
|
FazBrowse Home
|
New Git URL