Signed-off-by: Vasiliy Doylov <nekocwd@mainlining.org>
This commit is contained in:
parent
a26fca194d
commit
859ec6d1d4
1 changed files with 6 additions and 22 deletions
|
@ -9,26 +9,10 @@ jobs:
|
||||||
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: Build package
|
||||||
run: mkdir -p /data/pmaports/temp/pipetap
|
uses: Administration/pmbootstrap-build-action
|
||||||
- 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:
|
with:
|
||||||
name: build-files
|
package-name: pipetap
|
||||||
path: /data/work/packages/edge/aarch64/*.apk
|
apkbuild-dir: ${{github.workspace}}/misc
|
||||||
- name: Upload to package registry
|
arch: aarch64
|
||||||
run: >
|
src: ${{github.workspace}}
|
||||||
for apk in /data/work/packages/edge/aarch64/*.apk ; do
|
|
||||||
echo -- Uploading $apk
|
|
||||||
curl -H "Authorization: token ${{secrets.PACKAGE_TOKEN}}" \
|
|
||||||
--upload-file $apk \
|
|
||||||
${{github.server_url}}/api/packages/${{github.repository_owner}}/alpine/edge/nightly
|
|
||||||
done
|
|
||||||
- name: Clean up
|
|
||||||
run: pmbootstrap -y zap -p
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue