Skip to content

Commit

Permalink
Release action added
Browse files Browse the repository at this point in the history
  • Loading branch information
devmrfitz committed Apr 9, 2022
1 parent b5575d5 commit 62da11f
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Upload releases

on:
release:
types:
- created


jobs:
build_and_upload:
runs-on: windows-2019

steps:
- uses: actions/checkout@v1
name: Checkout Code

- name: Setup MSBuild Path
uses: microsoft/[email protected]
with:
vs-version: '[16.0,17.0)'

- name: Setup NuGet
uses: nuget/setup-nuget@v1

- name: Restore NuGet Packages
run: nuget restore ccx_testsuite.sln

- name: Build
run: msbuild ccx_testsuite.sln /t:ccx_testsuite /p:Platform="x86" /p:Configuration=Release

- name: Prepare artifact upload
run: mkdir ./artifact; cp CCExtractorTester.exe ./artifact/CCExtractorTester.exe; cp testGenerations.dll ./artifact/testGenerations.dll; cp CommandLine.dll ./artifact/CommandLine.dll
working-directory: CCExtractorTester\bin\Release\

- name: Upload as asset
uses: AButler/[email protected]
with:
files: 'CCExtractorTester\bin\Release\artifact\*'
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 62da11f

Please sign in to comment.