mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-18 19:42:01 +00: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:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
inputs:
|
||||||
ryujinx_base_version:
|
ryujinx_version:
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
ryujinx_version_minor:
|
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
|
@ -23,7 +20,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_base_version }}. ${{ inputs.ryujinx_version_minor }}"
|
RYUJINX_VERSION: "${{ inputs.ryujinx_version }}"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -64,7 +61,7 @@ jobs:
|
||||||
|
|
||||||
sources = []
|
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
|
name = path.parent.parent.name
|
||||||
version = path.parent.name
|
version = path.parent.name
|
||||||
filename = '{}.{}.nupkg'.format(name, version)
|
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
|
uses: ./.github/workflows/flatpak.yml
|
||||||
needs: release
|
needs: release
|
||||||
with:
|
with:
|
||||||
ryujinx_base_version: "1.1"
|
ryujinx_version: "1.1.${{ github.run_number }}"
|
||||||
ryujinx_version_minor: github.run_number
|
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
Loading…
Reference in a new issue