Skip to content

Reduce max/min left/right offset in sample file #11

Reduce max/min left/right offset in sample file

Reduce max/min left/right offset in sample file #11

Workflow file for this run

name: Build artifacts
on:
push:
branches: [ "**" ]
pull_request:
branches: [ "master" ]
release:
types: [created]
env:
SOLUTION_FILE_PATH: .
BUILD_CONFIGURATION: Release
PLATFORM: x86
permissions:
contents: write
id-token: write
actions: read
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Decide version
shell: bash
run: |
LATEST_TAG=$(git describe --tags --abbrev=0)
CURRENT_SHA=$(git rev-parse --short HEAD)
if [[ $(git rev-list $LATEST_TAG..HEAD --count) -gt 0 ]]; then
VERSION="${LATEST_TAG}-${CURRENT_SHA}"
else
VERSION="${LATEST_TAG}"
fi
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Get Repository Contributors
shell: bash
run: |
CONTRIBUTORS=$(curl "https://api.github.com/repos/${{ github.repository }}/contributors?per_page=100" | jq -r '.[].login' | paste -sd, -)
echo "CONTRIBUTORS=$CONTRIBUTORS" >> $GITHUB_ENV
- name: Add MSBuild to PATH
uses: microsoft/[email protected]
- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} /p:PluginVersion="${{env.VERSION}}" /p:Contributors="${{env.CONTRIBUTORS}}" ${{env.SOLUTION_FILE_PATH}} /p:Platform=${{env.PLATFORM}}
- name: Upload Build Artifacts
uses: actions/upload-artifact@v4
with:
name: ILS_Window_Plugin-${{ env.VERSION }}
path: |
Release/*.dll
Release/*.json