Fix games not launching due to requesting to launch offline #131
Workflow file for this run
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: "Snapshot" | |
on: | |
workflow_dispatch: | |
inputs: | |
prerelease: | |
description: "Create a pre-release" | |
default: false | |
required: true | |
type: boolean | |
pull_request: | |
branches: | |
- main | |
types: [closed] | |
permissions: | |
contents: write | |
discussions: write | |
jobs: | |
version: | |
name: Describe | |
uses: ./.github/workflows/job_version.yml | |
title: | |
needs: version | |
name: Version ${{ needs.version.outputs.version }} | |
runs-on: ubuntu-latest | |
steps: | |
- run: "true" | |
prerelease: | |
if: ${{ inputs.prerelease }} | |
needs: version | |
name: Create pre-release | |
runs-on: ubuntu-latest | |
steps: | |
- uses: ncipollo/release-action@v1 | |
with: | |
tag: ${{ needs.version.outputs.version }} | |
commit: "main" | |
name: Pre-release ${{ needs.version.outputs.version }} | |
draft: false | |
prerelease: true | |
generateReleaseNotes: true | |
discussionCategory: "Releases" | |
makeLatest: true | |
nuitka-linux: | |
if: ${{ true }} | |
needs: version | |
name: Nuitka Linux | |
uses: ./.github/workflows/job_nuitka-linux.yml | |
with: | |
version: ${{ needs.version.outputs.version }} | |
nuitka-linux-release: | |
if: ${{ inputs.prerelease }} | |
needs: [version, nuitka-linux, prerelease] | |
name: Nuitka Linux | |
uses: ./.github/workflows/job_publish.yml | |
with: | |
version: ${{ needs.version.outputs.version }} | |
file1: Rare-${{ needs.version.outputs.version }}.zip | |
name1: Rare-${{ needs.version.outputs.version }}-linux.zip | |
nuitka-macos: | |
if: ${{ true }} | |
needs: version | |
name: Nuitka MacOS | |
uses: ./.github/workflows/job_nuitka-macos.yml | |
with: | |
version: ${{ needs.version.outputs.version }} | |
nuitka-macos-release: | |
if: ${{ inputs.prerelease }} | |
needs: [version, nuitka-macos, prerelease] | |
name: Nuitka MacOS | |
uses: ./.github/workflows/job_publish.yml | |
with: | |
version: ${{ needs.version.outputs.version }} | |
file1: Rare-${{ needs.version.outputs.version }}-arm64.app.zip | |
name1: Rare-${{ needs.version.outputs.version }}-arm64-macos.app.zip | |
file2: Rare-${{ needs.version.outputs.version }}-x86_64.app.zip | |
name2: Rare-${{ needs.version.outputs.version }}-x86_64-macos.app.zip | |
nuitka-windows: | |
if: ${{ true }} | |
needs: version | |
name: Nuitka Windows | |
uses: ./.github/workflows/job_nuitka-windows.yml | |
with: | |
version: ${{ needs.version.outputs.version }} | |
nuitka-windows-release: | |
if: ${{ inputs.prerelease }} | |
needs: [version, nuitka-windows, prerelease] | |
name: Nuitka Windows | |
uses: ./.github/workflows/job_publish.yml | |
with: | |
version: ${{ needs.version.outputs.version }} | |
file1: Rare-${{ needs.version.outputs.version }}.zip | |
name1: Rare-${{ needs.version.outputs.version }}-windows.zip | |
cx-freeze-appimage: | |
if: ${{ true }} | |
needs: version | |
name: cx-Freeze AppImage | |
uses: ./.github/workflows/job_cx-freeze-appimage.yml | |
with: | |
version: ${{ needs.version.outputs.version }} | |
cx-freeze-appimage-release: | |
if: ${{ inputs.prerelease }} | |
needs: [version, cx-freeze-appimage, prerelease] | |
name: cx-Freeze AppImage | |
uses: ./.github/workflows/job_publish.yml | |
with: | |
version: ${{ needs.version.outputs.version }} | |
file1: Rare-${{ needs.version.outputs.version }}.AppImage | |
name1: Rare-${{ needs.version.outputs.version }}.AppImage | |
cx-freeze-dmg: | |
if: ${{ true }} | |
needs: version | |
name: cx-Freeze MacOS | |
uses: ./.github/workflows/job_cx-freeze-dmg.yml | |
with: | |
version: ${{ needs.version.outputs.version }} | |
cx-freeze-dmg-release: | |
if: ${{ inputs.prerelease }} | |
needs: [version, cx-freeze-dmg, prerelease] | |
name: cx-Freeze MacOS | |
uses: ./.github/workflows/job_publish.yml | |
with: | |
version: ${{ needs.version.outputs.version }} | |
file1: Rare-${{ needs.version.outputs.version }}-arm64.dmg | |
name1: Rare-${{ needs.version.outputs.version }}-arm64.dmg | |
file2: Rare-${{ needs.version.outputs.version }}-x86_64.dmg | |
name2: Rare-${{ needs.version.outputs.version }}-x86_64.dmg | |
cx-freeze-msi: | |
if: ${{ true }} | |
needs: version | |
name: cx-Freeze Windows | |
uses: ./.github/workflows/job_cx-freeze-msi.yml | |
with: | |
version: ${{ needs.version.outputs.version }} | |
cx-freeze-msi-release: | |
if: ${{ inputs.prerelease }} | |
needs: [version, cx-freeze-msi, prerelease] | |
name: cx-Freeze Windows | |
uses: ./.github/workflows/job_publish.yml | |
with: | |
version: ${{ needs.version.outputs.version }} | |
file1: Rare-${{ needs.version.outputs.version }}.msi | |
name1: Rare-${{ needs.version.outputs.version }}.msi |