diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 70d4906..494a1fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,6 @@ env: jobs: build_and_test: name: Build / Test - runs-on: ubuntu-latest strategy: @@ -51,4 +50,25 @@ jobs: run: dotnet build src/MyWebLog.sln -f net${{ matrix.dotnet-version }} - name: Test (${{ matrix.dotnet-version }}) run: cd src/MyWebLog.Tests; dotnet run -f net${{ matrix.dotnet-version }} - \ No newline at end of file + + 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