Signed-off-by: Vasiliy Doylov <nekocwd@mainlining.org>
This commit is contained in:
parent
22850ce9ad
commit
abccc785f2
1 changed files with 15 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue