mirror of
https://github.com/jagandeepbrar/lunasea.git
synced 2026-08-31 04:32:32 +00:00
37 lines
871 B
YAML
37 lines
871 B
YAML
name: 'Build Linux'
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
build-number:
|
|
required: true
|
|
type: string
|
|
|
|
secrets:
|
|
FIREBASE_TOKEN:
|
|
required: true
|
|
|
|
jobs:
|
|
build-snapcraft:
|
|
name: Snapcraft
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Setup Environment
|
|
uses: JagandeepBrar/LunaSea/.github/actions/prepare_for_build@master
|
|
with:
|
|
firebase-token: ${{ secrets.FIREBASE_TOKEN }}
|
|
platform: linux
|
|
|
|
- name: Build LunaSea
|
|
uses: snapcore/action-build@v1
|
|
id: build
|
|
|
|
- name: Prepare Artifact
|
|
run: mv ${{ steps.build.outputs.snap }} ${{ github.workspace }}/output/lunasea-linux-amd64.snap
|
|
|
|
- name: Upload Artifact
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: linux-snapcraft
|
|
path: ${{ github.workspace }}/output
|