CI: Update CI to use composite actions
Signed-off-by: Vasiliy Doylov <nekocwd@mainlining.org>
This commit is contained in:
parent
859ec6d1d4
commit
6a6801cd81
2 changed files with 18 additions and 5 deletions
|
@ -1,4 +1,5 @@
|
||||||
name: PostmarketOS build
|
name: PostmarketOS Build
|
||||||
|
run-name: PostmarketOS Build
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
@ -6,13 +7,25 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: Pmbootstrap
|
runs-on: Pmbootstrap
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
info:
|
||||||
|
- arch: aarch64
|
||||||
|
- arch: x86_64
|
||||||
|
name: Build for ${{ matrix.info.arch }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Build package
|
- name: Build package
|
||||||
uses: Administration/pmbootstrap-build-action
|
id: build
|
||||||
|
uses: actions/pmbootstrap-build@main
|
||||||
with:
|
with:
|
||||||
package-name: pipetap
|
name: pipetap
|
||||||
apkbuild-dir: ${{github.workspace}}/misc
|
aports: ${{github.workspace}}/misc/alpine
|
||||||
arch: aarch64
|
arch: ${{ matrix.info.arch }}
|
||||||
src: ${{github.workspace}}
|
src: ${{github.workspace}}
|
||||||
|
- name: "Upload packages"
|
||||||
|
uses: actions/upload-alpine-package@main
|
||||||
|
with:
|
||||||
|
files: ${{steps.build.outputs.packages}}
|
||||||
|
secret: ${{secrets.PACKAGE_TOKEN}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue