update-build-actions #2

Merged
wt merged 2 commits from update-build-actions into main 2025-05-07 16:23:02 +00:00
+3 -4
View File
@@ -16,7 +16,7 @@ jobs:
run: ./build/server && ./build/client run: ./build/server && ./build/client
Archlinux-package: Archlinux-package:
runs-on: archlinux-aarch64 runs-on: archlinux-amd64
steps: steps:
- name: Download PKGBUILD file - name: Download PKGBUILD file
run: | run: |
@@ -24,13 +24,12 @@ jobs:
cd workspace && \ cd workspace && \
curl \ curl \
https://gitea.home.com:3000/TolaMironcenko/udpchat/raw/branch/main/PKGBUILD \ https://gitea.home.com:3000/TolaMironcenko/udpchat/raw/branch/main/PKGBUILD \
-o PKGBUILD && \ -o PKGBUILD
sed "s/arch=('x86_64')/arch=('aarch64')/" -i PKGBUILD
- name: Build package - name: Build package
run: cd workspace && makepkg -f run: cd workspace && makepkg -f
- name: Push package - name: Push package
run: | run: |
cd workspace && \ cd workspace && \
curl --user TolaMironcenko:d57cf51c49b425b42148e5a56882f8330bde011c \ curl --user TolaMironcenko:d57cf51c49b425b42148e5a56882f8330bde011c \
--upload-file ./udpchat-git-1.0.1-1-aarch64.pkg.tar.xz \ --upload-file ./udpchat-git-1.0.1-1-x86_64.pkg.tar.zst \
https://gitea.home.com:3000/api/packages/TolaMironcenko/arch/home https://gitea.home.com:3000/api/packages/TolaMironcenko/arch/home