actions
This commit is contained in:
1 parent
4925c208d3
commit
164b1529de
1 file changed
+20
-1
@@ -15,4 +15,23 @@ jobs:
|
||||
- name: Testing to run binary
|
||||
run: ./build/pwdgen && ./build/pwdgen 100 && ./build/pwdgen 1234567890 10
|
||||
- name: Status jobs
|
||||
run: echo "🍏 This job's status is ${{ job.status }}."
|
||||
run: echo "🍏 This job's status is ${{ job.status }}."
|
||||
|
||||
Archlinux-package:
|
||||
runs-on: archlinux-aarch64
|
||||
steps:
|
||||
- name: Download PKGBUILD file
|
||||
run: |
|
||||
mkdir workspace && \
|
||||
cd workspace && \
|
||||
curl \
|
||||
https://gitea.home.com:3000/TolaMironcenko/pwdgen/raw/branch/main/PKGBUILD \
|
||||
-o PKGBUILD && \
|
||||
sed "s/arch=('x86_64')/arch=('aarch64')/" -i PKGBUILD
|
||||
- name: Build package
|
||||
run: makepkg -f
|
||||
- name: Push package
|
||||
run: |
|
||||
curl --user TolaMironcenko:d57cf51c49b425b42148e5a56882f8330bde011c \
|
||||
--upload-file ./pwdgen-git-1.0-1-aarch64.pkg.tar.zst \
|
||||
https://gitea.home.com:3000/api/packages/TolaMironcenko/arch/home
|
||||
Reference in new issue
Block a user