This commit is contained in:
parent
e539685d48
commit
4ded7f6d31
@ -23,26 +23,32 @@ jobs:
|
|||||||
dotnet-version: '9.0.x'
|
dotnet-version: '9.0.x'
|
||||||
|
|
||||||
- name: Restore dependencies
|
- name: Restore dependencies
|
||||||
run: dotnet restore FireflyClient.sln
|
run: dotnet restore Firefly.sln
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
chmod +x build-all.sh
|
chmod +x build-all.sh
|
||||||
./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
|
- name: Upload artifacts
|
||||||
|
if: ${{ !env.ACT }}
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: firefly-artifacts
|
name: firefly-artifacts
|
||||||
path: |
|
path: |
|
||||||
artifacts/exe/*
|
artifacts/exe
|
||||||
artifacts/native/*
|
artifacts/native
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
artifacts/exe/*
|
artifacts/exe/**
|
||||||
artifacts/native/*
|
artifacts/native/**
|
||||||
generate_release_notes: true
|
generate_release_notes: true
|
Loading…
x
Reference in New Issue
Block a user