From 3cfa4a6e13e0a0ca5fe8045979827ba0ee734da9 Mon Sep 17 00:00:00 2001 From: rinrab Date: Tue, 26 Dec 2023 16:26:03 +0100 Subject: [PATCH] Create publish.yml --- .github/workflows/publish.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..d33cfda --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,29 @@ +name: Publish + +on: + push: + tags: + - '*' + +jobs: + build: + strategy: + matrix: + architecture: [x64, x86] + + runs-on: windows-latest + + steps: + - uses: actions/checkout@v3 + + - name: Build + run: dotnet build Installer --arch ${{ matrix.architecture }} --configuration Release + + - name: Upload binaries to release + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: Installer\bin\x64\Release\en-US\AOVpnManager.msi + asset_name: AOVpnManager-${{ matrix.configuration }}.msi