Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/build-msvc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Build C3 (MSVC)
on:
push:
branches: [ master ]
tags: ['v*.*.*']
pull_request:
branches: [ master ]

Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/release-msvc.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Build C3 (MSVC)
name: Build C3 Release Artifact (MSVC)

on:
release:
types: [published]

jobs:
build:
name: Build C3 (MSVC)
name: Build C3 Release Artifact (MSVC)
runs-on: windows-2022
steps:
- name: Add msbuild to PATH
Expand Down Expand Up @@ -44,12 +44,10 @@ jobs:
Move-Item Bin Build\Bin
Get-ChildItem -Path Build\Bin -Include *.exp,*.lib,*.map -Recurse | Remove-Item -Force

- name: Build and Zip Artifact
run: |
powershell Compress-Archive -Path Build\* -DestinationPath C3-${{ github.event.release.tag_name }}-Release.zip

- name: Build and Zip Artifact
run: |
powershell Compress-Archive -Path Build\* -DestinationPath C3-${{ github.event.release.tag_name }}-Release.zip


- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
Expand All @@ -59,4 +57,3 @@ jobs:
asset_path: C3-${{ github.event.release.tag_name }}-Release.zip
asset_name: C3-${{ github.event.release.tag_name }}-Release.zip
asset_content_type: application/zip

Loading