Skip to content

update

update #1

Workflow file for this run

name: GitHub Actions Build
on:
push:
jobs:
build:
runs-on: windows-2022
permissions:
contents: write
strategy:
matrix:
platform: [Win32]
buildtype: [Release]
steps:
- uses: actions/checkout@v2
- name: Add msbuild to PATH
uses: microsoft/[email protected]
- uses: actions/checkout@v2
with:
submodules: 'true'
- name: Configure build
shell: cmd
run: |
set PLUGIN_SDK_DIR=plugin-sdk
- name: Build
shell: cmd
run: |
msbuild -m CLEO5.sln /property:Configuration=${{matrix.buildtype}} /property:Platform=${{matrix.platform}}
- name: Pack binaries (Main)
uses: ThirteenAG/zip-release@master
with:
path: ./data/*
type: 'zip'
filename: 'CLEO5.zip'
exclusions: '*.pdb *.lib *.exp *.map'
- name: Get release info
id: release_info
uses: cardinalby/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag: latest
- name: Upload Release
uses: ncipollo/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
allowUpdates: true
name: ${{ steps.release_info.outputs.name }}
body: ${{ steps.release_info.outputs.body }}
tag: ${{ steps.release_info.outputs.tag_name }}
artifacts: CLEO5.zip