gha(release): Hopefully fixes it

This commit is contained in:
Mary 2023-03-11 19:13:40 +01:00
parent a80fa5e33f
commit 2dc422bc14
2 changed files with 21 additions and 16 deletions

View file

@ -3,7 +3,10 @@ name: Flatpak release job
on: on:
workflow_call: workflow_call:
inputs: inputs:
ryujinx_version: ryujinx_base_version:
required: true
type: string
ryujinx_version_minor:
required: true required: true
type: string type: string
@ -20,7 +23,7 @@ jobs:
GIT_COMMITTER_EMAIL: "61127645+RyujinxBot@users.noreply.github.com" GIT_COMMITTER_EMAIL: "61127645+RyujinxBot@users.noreply.github.com"
RYUJINX_PROJECT_FILE: "Ryujinx/Ryujinx.csproj" RYUJINX_PROJECT_FILE: "Ryujinx/Ryujinx.csproj"
NUGET_SOURCES_DESTDIR: "nuget-sources" NUGET_SOURCES_DESTDIR: "nuget-sources"
RYUJINX_VERSION: ${{ inputs.ryujinx_version }} RYUJINX_VERSION: "${{ inputs.ryujinx_base_version }}. ${{ inputs.ryujinx_version_minor }}"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3

View file

@ -114,6 +114,8 @@ jobs:
flatpak_release: flatpak_release:
uses: ./.github/workflows/flatpak.yml uses: ./.github/workflows/flatpak.yml
needs: release
with: with:
ryujinx_version: "${{ env.RYUJINX_BASE_VERSION }}.${{ github.run_number }}" ryujinx_base_version: "1.1"
ryujinx_version_minor: github.run_number
secrets: inherit secrets: inherit