Skip to content

Commit

Permalink
Update msbuild.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aiqinxuancai authored Dec 20, 2021
1 parent 6bfd0f2 commit 65f452d
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: MSBuild

on: [push]
on:
push:
tags:
- '*'

env:
# Path to the solution file relative to the root of the project.
Expand All @@ -15,19 +18,14 @@ jobs:
release:
runs-on: windows-latest
steps:
- name: Install 7Zip PowerShell Module
shell: powershell
run: Install-Module 7Zip4PowerShell -Force -Verbose
- uses: actions/checkout@v2
- name: Configure build for win32
uses: ilammy/msvc-dev-cmd@v1
with:
arch: win32
- name: Compress
run: powershell Compress-7Zip $env:GITHUB_WORKSPACE\Release -ArchiveFileName "Release.zip" -Format Zip
- name: Create a Release
uses: ncipollo/release-action@v1
with:
artifacts: "Release.zip"
artifacts: "Release/version.dll"
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 65f452d

Please sign in to comment.