Skip to content

Commit

Permalink
🌟 Update to Universal buildService
Browse files Browse the repository at this point in the history
  • Loading branch information
k0gen authored Nov 29, 2023
1 parent f062406 commit 5a76544
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/buildService.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build Service

on:
workflow_dispatch:
pull_request:
paths-ignore: ['*.md']
branches: ['main', 'master']
push:
paths-ignore: ['*.md']
branches: ['main', 'master']

jobs:
BuildPackage:
runs-on: ubuntu-latest
steps:
- name: Prepare StartOS SDK
uses: Start9Labs/sdk@v1

- name: Checkout services repository
uses: actions/checkout@v3

- name: Build the service package
run: |
git submodule update --init --recursive
start-sdk init
make
PACKAGE_ID=$(yq e ".id" manifest.yaml)
mv ${PACKAGE_ID}*s9pk ~/
shell: bash

- name: Upload .s9pk
uses: actions/upload-artifact@v3
with:
name: ${{ env.PACKAGE_ID }}.s9pk
path: ~/*.s9pk

0 comments on commit 5a76544

Please sign in to comment.