gha(release): Attempt to fix flathub pusher

This commit is contained in:
Mary 2023-03-11 20:11:09 +01:00
parent 2dc422bc14
commit 81691b9e37
2 changed files with 4 additions and 8 deletions

View file

@ -3,10 +3,7 @@ name: Flatpak release job
on:
workflow_call:
inputs:
ryujinx_base_version:
required: true
type: string
ryujinx_version_minor:
ryujinx_version:
required: true
type: string
@ -23,7 +20,7 @@ jobs:
GIT_COMMITTER_EMAIL: "61127645+RyujinxBot@users.noreply.github.com"
RYUJINX_PROJECT_FILE: "Ryujinx/Ryujinx.csproj"
NUGET_SOURCES_DESTDIR: "nuget-sources"
RYUJINX_VERSION: "${{ inputs.ryujinx_base_version }}. ${{ inputs.ryujinx_version_minor }}"
RYUJINX_VERSION: "${{ inputs.ryujinx_version }}"
steps:
- uses: actions/checkout@v3
@ -64,7 +61,7 @@ jobs:
sources = []
for path in Path((os.environ['NUGET_PACKAGES']).glob('**/*.nupkg.sha512'):
for path in Path(os.environ['NUGET_PACKAGES']).glob('**/*.nupkg.sha512'):
name = path.parent.parent.name
version = path.parent.name
filename = '{}.{}.nupkg'.format(name, version)

View file

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