Jacob Schmidt e539685d48
Some checks failed
Build / build (push) Failing after 5m40s
Update .gitea/workflows/build.yml
2025-06-06 05:24:59 -05:00

48 lines
931 B
YAML

name: Build
on:
push:
branches: [ master ]
tags:
- 'v*'
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '9.0.x'
- name: Restore dependencies
run: dotnet restore FireflyClient.sln
- name: Build
run: |
chmod +x build-all.sh
./build-all.sh
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: firefly-artifacts
path: |
artifacts/exe/*
artifacts/native/*
- name: Create Release
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v1
with:
files: |
artifacts/exe/*
artifacts/native/*
generate_release_notes: true