2023-07-15 17:31:33 -07:00
|
|
|
name: Build
|
|
|
|
run-name: Build the project
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2023-07-15 18:22:25 -07:00
|
|
|
runs-on: ubuntu-latest
|
2023-07-15 17:31:33 -07:00
|
|
|
steps:
|
|
|
|
- name: Check out repository code
|
|
|
|
uses: actions/checkout@v3
|
2023-07-15 18:46:18 -07:00
|
|
|
with:
|
|
|
|
submodules: recursive
|
2023-07-15 17:31:33 -07:00
|
|
|
- name: Install dependencies
|
2023-07-18 10:59:58 -07:00
|
|
|
run: apt update && apt install -y flatpak-builder flatpak && flatpak install -y --noninteractive org.freedesktop.Platform//22.08 org.freedesktop.Sdk//22.08
|
2023-07-15 17:31:33 -07:00
|
|
|
- name: Build project
|
2023-07-18 10:59:58 -07:00
|
|
|
run: flatpak-builder build-flatpak com.experimentalcraft.NekoPlayer.yml --repo ./flatpak-repo
|
2023-07-15 18:54:21 -07:00
|
|
|
#- uses: actions/upload-artifact@v3
|
|
|
|
# with:
|
|
|
|
# name: build
|
|
|
|
# path: builddir/player
|