Update default path for bedrock worlds #9
This file contains hidden or 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: .NET Release | |
| on: push | |
| jobs: | |
| release: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| submodules: recursive | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v3 | |
| with: | |
| dotnet-version: 6.0.x | |
| - name: Restore dependencies | |
| run: dotnet restore | |
| - name: Build (Windows UI) | |
| run: dotnet publish "ImageMap4" --runtime win-x64 -p:PublishSingleFile=true /p:DebugType=None /p:DebugSymbols=false --configuration Release --self-contained false | |
| - name: Build (Windows CMD) | |
| run: dotnet publish "ImageMap4.CMD" --runtime win-x64 -p:PublishSingleFile=true /p:DebugType=None /p:DebugSymbols=false --configuration Release --self-contained false | |
| - name: Build (Linux CMD) | |
| run: dotnet publish "ImageMap4.CMD" --runtime linux-x64 -p:PublishSingleFile=true /p:DebugType=None /p:DebugSymbols=false --configuration Release --self-contained false | |
| - name: Zip (Windows) | |
| run: powershell Compress-Archive -Path "ImageMap4/bin/Release/net6.0-windows/win-x64/publish/ImageMap.exe", "ImageMap4.CMD/bin/Release/net6.0/win-x64/publish/ImageMap-cmd.exe", "ImageMap4/bin/Release/net6.0-windows/win-x64/publish/leveldb_mcpe_win_amd64.dll", "ImageMap4/bin/Release/net6.0-windows/win-x64/publish/leveldb_mcpe_win32.dll" -DestinationPath "ImageMap4-Windows.zip" | |
| - name: Zip (Linux) | |
| run: powershell Compress-Archive -Path "ImageMap4.CMD/bin/Release/net6.0/linux-x64/publish/ImageMap-cmd", "ImageMap4.CMD/bin/Release/net6.0/linux-x64/publish/leveldb_mcpe_linux_x86_64.so" -DestinationPath "ImageMap4-Linux.zip" | |
| - name: Create Release | |
| uses: softprops/action-gh-release@v1 | |
| if: startsWith(github.ref, 'refs/tags/') | |
| with: | |
| files: | | |
| ./ImageMap4-Windows.zip | |
| ./ImageMap4-Linux.zip |