Skip to content

Commit 7edd729

Browse files
committed
ci: add no confirm to makepkg -s and add upload
1 parent 7309cfb commit 7edd729

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,18 @@ jobs:
108108
working-directory: aur-repo
109109
run: |
110110
chown -R builder:builder .
111-
su builder -c "makepkg -s"
112-
ls
111+
su builder -c "makepkg -s --noconfirm"
112+
113+
- name: Find pkg filename
114+
id: pkg
115+
working-directory: aur-repo
116+
run: |
117+
PKG_FILE=$(basename *.pkg.tar.zst)
118+
echo "name=${PKG_FILE}" >> "$GITHUB_OUTPUT"
119+
120+
- name: Upload pkg
121+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
122+
with:
123+
name: ${{ steps.pkg.outputs.name }}
124+
path: "aur-repo/*.pkg.tar.zst"
125+
if-no-files-found: error

0 commit comments

Comments
 (0)