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