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:
|
||||
- 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
|
||||
- name: Build package
|
||||
uses: Administration/pmbootstrap-build-action
|
||||
with:
|
||||
name: build-files
|
||||
path: /data/work/packages/edge/aarch64/*.apk
|
||||
- name: Upload to package registry
|
||||
run: >
|
||||
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
|
||||
package-name: pipetap
|
||||
apkbuild-dir: ${{github.workspace}}/misc
|
||||
arch: aarch64
|
||||
src: ${{github.workspace}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue