mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-10-01 12:30:00 +02:00
gha(release): Attempt to fix flathub pusher
This commit is contained in:
parent
2dc422bc14
commit
81691b9e37
2 changed files with 4 additions and 8 deletions
9
.github/workflows/flatpak.yml
vendored
9
.github/workflows/flatpak.yml
vendored
|
@ -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)
|
||||
|
|
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue