Skip to content

Update to new version : 0.3.1.0 #6

Update to new version : 0.3.1.0

Update to new version : 0.3.1.0 #6

Workflow file for this run

name: CI
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: windows-2019
steps:
- uses: actions/checkout@v1
- uses: nuget/setup-nuget@v1
- name: Build Windows Desktop
run: |
cd "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\"
.\MSBuild.exe $Env:GITHUB_WORKSPACE\.NET\Examples\WindowsDesktop\WindowsDesktop_VS2019.sln -p:Configuration=Release
rm $Env:GITHUB_WORKSPACE\.NET\Examples\WindowsDesktop\obj -r -fo
- name: zip libraries
run: |
cd "$Env:GITHUB_WORKSPACE\.NET\Libraries\"
7z a -tzip -mx=9 $Env:GITHUB_WORKSPACE\FanucSDK.zip *
- name: zip full .NET\Examples
run: 7z a -tzip -mx=9 $Env:GITHUB_WORKSPACE\FanucSDK_Full.zip $Env:GITHUB_WORKSPACE\.NET\Examples $Env:GITHUB_WORKSPACE\.NET\Libraries
- name: zip desktop example
run: |
cd "$Env:GITHUB_WORKSPACE\.NET\Examples\WindowsDesktop\bin\Release\"
7z a -tzip -mx=9 $Env:GITHUB_WORKSPACE\FanucSDK_DesktopExample.zip *
- uses: ncipollo/release-action@v1
with:
artifacts: "FanucSDK_Full.zip,FanucSDK_DesktopExample.zip,FanucSDK.zip"
bodyFile: "whatsNew.md"
token: ${{ secrets.GITHUB_TOKEN }}