Skip to content

Commit

Permalink
Create publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rinrab committed Dec 26, 2023
1 parent 0d2b5a7 commit 3cfa4a6
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3cfa4a6

Please sign in to comment.