fix variable function calls being totally fucked up #80
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish GUI 32Bit | |
on: | |
push: | |
branches: [ master ] | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-latest] | |
configuration: [Debug] | |
bundled: [true] | |
singlefile: [true, false] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 6.0.x | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: | | |
dotnet build UndertaleModTool --no-restore | |
dotnet build UndertaleModToolUpdater --no-restore | |
- name: Publish ${{ matrix.os }} GUI 32Bit | |
run: | | |
dotnet publish UndertaleModTool -c ${{ matrix.configuration }} -r win-x86 --self-contained ${{ matrix.bundled }} -p:PublishSingleFile=${{ matrix.singlefile }} --output ${{ matrix.os }} | |
dotnet publish UndertaleModToolUpdater -c ${{ matrix.configuration }} -r win-x86 --self-contained ${{ matrix.bundled }} -p:PublishSingleFile=false --output ${{ matrix.os }}/Updater | |
- name: Copy external files | |
run: | | |
cp ./README.md ./${{ matrix.os }} | |
cp ./SCRIPTS.md ./${{ matrix.os }} | |
cp ./LICENSE.txt ./${{ matrix.os }} | |
cp ./.disable_gb1click ./${{ matrix.os }} | |
- name: Upload ${{ matrix.os }} GUI 32Bit | |
uses: actions/upload-artifact@v2 | |
with: | |
name: UTMTCE-GUI32BIT-${{ matrix.os }}-isBundled-${{ matrix.bundled }}-isSingleFile-${{ matrix.singlefile }} | |
path: ${{ matrix.os }} |