Files
lunasea/.github/workflows/build_linux.yml
2022-04-03 15:03:50 -04:00

37 lines
862 B
YAML

name: 'Build Linux'
on:
workflow_call:
inputs:
build-number:
required: true
type: string
secrets:
FIREBASE_OPTIONS:
required: true
jobs:
build-snap:
name: Snap
runs-on: ubuntu-latest
steps:
- name: Setup Environment
uses: JagandeepBrar/LunaSea/.github/actions/prepare_for_build@master
with:
platform: linux
firebase-options: ${{ secrets.FIREBASE_OPTIONS }}
- 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-snap
path: ${{ github.workspace }}/output