Delete .gitea/workflows/build.yml
All checks were successful
Release / release (push) Successful in 1m24s
All checks were successful
Release / release (push) Successful in 1m24s
This commit is contained in:
parent
a8fe7b0e49
commit
86db85a533
@ -1,54 +0,0 @@
|
||||
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 Firefly.sln
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
chmod +x build-all.sh
|
||||
./build-all.sh
|
||||
|
||||
- name: Verify artifacts
|
||||
run: |
|
||||
ls -la artifacts/exe || echo "No exe artifacts found"
|
||||
ls -la artifacts/native || echo "No native artifacts found"
|
||||
|
||||
- name: Upload artifacts
|
||||
if: ${{ !env.ACT }}
|
||||
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
|
Loading…
x
Reference in New Issue
Block a user