run-upstream-build/.github/workflows/v3.yml

40 lines
863 B
YAML
Raw Normal View History

2024-07-27 20:53:14 +02:00
name: PikaOS Upstream Package Build & Release (amd64-v3)
2024-07-27 21:02:20 +02:00
2024-07-27 20:12:37 +02:00
on:
push:
branches:
- main
paths:
2024-07-27 20:48:07 +02:00
- 'pika-build-config/v3.sh'
2024-07-27 20:12:37 +02:00
jobs:
build:
runs-on: ubuntu-latest
container:
2024-07-27 20:52:03 +02:00
image: ghcr.io/pikaos-linux/pika-base-debian-container:latest
2024-07-27 20:12:37 +02:00
volumes:
- /proc:/proc
options: --privileged -it
steps:
- uses: actions/checkout@v3
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
name: id_rsa
known_hosts: ${{ secrets.KNOWN_HOSTS }}
if_key_exists: replace
- name: Update APT Cache
run: apt-get update -y
- name: Set Build Config
2024-07-27 20:48:07 +02:00
run: cp -vf ./pika-build-config/v3setup.sh ./pika-build-config.sh
2024-07-27 20:12:37 +02:00
- name: Build Package
run: ./main.sh
- name: Release Package
2024-07-27 20:48:07 +02:00
run: ./release.sh