Build and Release #11
Workflow file for this run
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: Build and Release | |
| on: | |
| push: | |
| tags: | |
| - 'v*.*.*' # Trigger on version tags like v1.0.0 | |
| permissions: | |
| contents: write | |
| jobs: | |
| build-and-release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '10.0.x' | |
| - name: Restore dependencies | |
| run: dotnet restore DMINLauncher.csproj | |
| - name: Build Windows Release | |
| run: | | |
| dotnet publish DMINLauncher.csproj -c Release -r win-x64 --self-contained \ | |
| -p:PublishSingleFile=true \ | |
| -p:IncludeNativeLibrariesForSelfExtract=true \ | |
| -o publish/win-x64 | |
| - name: Build Linux Release | |
| run: | | |
| dotnet publish DMINLauncher.csproj -c Release -r linux-x64 --self-contained \ | |
| -p:PublishSingleFile=true \ | |
| -p:IncludeNativeLibrariesForSelfExtract=true \ | |
| -o publish/linux-x64 | |
| - name: Rename executables | |
| run: | | |
| mv publish/win-x64/DMINLauncher.exe publish/win-x64/DMINLauncher-win-x64.exe | |
| mv publish/linux-x64/DMINLauncher publish/linux-x64/DMINLauncher-linux-x64 | |
| chmod +x publish/linux-x64/DMINLauncher-linux-x64 | |
| - name: Create Windows ZIP | |
| run: | | |
| cd publish/win-x64 | |
| zip -r ../DMINLauncher-win-x64.zip DMINLauncher-win-x64.exe | |
| cd ../.. | |
| - name: Create Linux ZIP | |
| run: | | |
| cd publish/linux-x64 | |
| zip -r ../DMINLauncher-linux-x64.zip DMINLauncher-linux-x64 | |
| cd ../.. | |
| - name: Extract version from tag | |
| id: get_version | |
| run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT | |
| - name: Create Release and Upload Assets | |
| uses: softprops/action-gh-release@v1 | |
| with: | |
| name: DMINLauncher ${{ steps.get_version.outputs.VERSION }} | |
| body: | | |
| ## 🎮 DMINLauncher ${{ steps.get_version.outputs.VERSION }} | |
| A modern, cross-platform DOOM source port launcher with multiplayer support, mod management, and UPnP port forwarding. | |
| ### ✨ What's New | |
| - See [CHANGELOG.md](https://github.com/RobG66/DMINLauncher/blob/master/CHANGELOG.md) for details | |
| ### 📥 Installation | |
| **Windows:** | |
| 1. Download `DMINLauncher-win-x64.zip` | |
| 2. Extract and run `DMINLauncher-win-x64.exe` | |
| 3. No .NET installation required - runtime is included! | |
| **Linux:** | |
| 1. Download `DMINLauncher-linux-x64.zip` | |
| 2. Extract and make executable: `chmod +x DMINLauncher-linux-x64` | |
| 3. Run: `./DMINLauncher-linux-x64` | |
| **Batocera:** | |
| - See [BATOCERA-SETUP.md](https://github.com/RobG66/DMINLauncher/blob/master/BATOCERA-SETUP.md) | |
| - Configuration is automatically created on first run! | |
| ### 📋 Requirements | |
| - DOOM WAD files (purchase from Steam/GOG or use Freedoom) | |
| - A DOOM source port (GZDoom, Zandronum, etc.) | |
| ### 🔗 Links | |
| - [Full Documentation](https://github.com/RobG66/DMINLauncher/blob/master/README.md) | |
| - [Report Issues](https://github.com/RobG66/DMINLauncher/issues) | |
| files: | | |
| publish/DMINLauncher-win-x64.zip | |
| publish/DMINLauncher-linux-x64.zip | |
| draft: false | |
| prerelease: false |