Add release packaging
This commit is contained in:
parent
eaa1824ec3
commit
ad49c9536b
24
.github/workflows/ci.yml
vendored
24
.github/workflows/ci.yml
vendored
@ -10,7 +10,6 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
build_and_test:
|
build_and_test:
|
||||||
name: Build / Test
|
name: Build / Test
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
@ -51,4 +50,25 @@ jobs:
|
|||||||
run: dotnet build src/MyWebLog.sln -f net${{ matrix.dotnet-version }}
|
run: dotnet build src/MyWebLog.sln -f net${{ matrix.dotnet-version }}
|
||||||
- name: Test (${{ matrix.dotnet-version }})
|
- name: Test (${{ matrix.dotnet-version }})
|
||||||
run: cd src/MyWebLog.Tests; dotnet run -f net${{ matrix.dotnet-version }}
|
run: cd src/MyWebLog.Tests; dotnet run -f net${{ matrix.dotnet-version }}
|
||||||
|
|
||||||
|
publish:
|
||||||
|
name: Publish .zip / .bz2 Packages
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: build_and_test
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Check Out Code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Setup .NET Core SDK
|
||||||
|
uses: actions/setup-dotnet@v4.0.0
|
||||||
|
with:
|
||||||
|
dotnet-version: 8.x
|
||||||
|
- name: Create Release Packages
|
||||||
|
run: dotnet run build.fsproj
|
||||||
|
- name: Upload Artifacts
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: release-packages
|
||||||
|
path: |
|
||||||
|
release/*x64.zip
|
||||||
|
release/*.bz2
|
||||||
|
Loading…
Reference in New Issue
Block a user