Add release packaging

This commit is contained in:
Daniel J. Summers 2024-03-23 19:36:22 -04:00
parent eaa1824ec3
commit ad49c9536b

View File

@ -10,7 +10,6 @@ env:
jobs:
build_and_test:
name: Build / Test
runs-on: ubuntu-latest
strategy:
@ -52,3 +51,24 @@ jobs:
- name: Test (${{ 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