CI: WIP
Some checks failed
PostmarketOS build / build (push) Failing after 0s

Signed-off-by: Vasiliy Doylov <nekocwd@mainlining.org>
This commit is contained in:
Vasiliy Doylov 2025-06-07 01:49:05 +03:00
parent 22850ce9ad
commit abccc785f2
Signed by: NekoCWD
GPG key ID: B7BE22D44474A582

View file

@ -7,25 +7,27 @@ jobs:
build:
runs-on: Pmbootstrap
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Make temp package dir
run: mkdir -p /data/pmaports/temp/pipetap
- name: Copy APKBUILD to this dir
run: cp ${{ github.workspace }}/misc/APKBUILD /data/pmaports/temp/pipetap
#- name: Check out repository code
# uses: actions/checkout@v4
#- name: Make temp package dir
# run: mkdir -p /data/pmaports/temp/pipetap
#- name: Copy APKBUILD to this dir
# run: cp ${{ github.workspace }}/misc/APKBUILD /data/pmaports/temp/pipetap
#- name: Clear local-built packages
# run: pmbootstrap -y zap -p
- name: Run PostmarketOS build
run: pmbootstrap build --force pipetap --src ${{ github.workspace }} --arch aarch64
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: build-files
path: /data/work/packages/edge/aarch64/*.apk
#- name: Run PostmarketOS build
# run: pmbootstrap build --force pipetap --src ${{ github.workspace }} --arch aarch64
#- name: Upload artifacts
# uses: actions/upload-artifact@v3
# with:
# name: build-files
# path: /data/work/packages/edge/aarch64/*.apk
- name: Upload to package registry
run: >
curl -H "Authorization: token ${{github.token}}" \
--upload-file /data/work/packages/edge/aarch64/*.apk \
${{github.api_url}}/packages/meow/alpine/edge/nightly
- run: >
echo ${{github.api_url}}/packages/meow/alpine/edge/nightly
#- name: Clean up
# run: pmbootstrap -y zap -p