mirror of
https://github.com/Ryujinx/Ryujinx-Mako.git
synced 2025-08-14 23:11:08 +00:00
Fix action_path references
This commit is contained in:
parent
6358a37947
commit
44caec63c4
8
.github/actions/execute-command/action.yml
vendored
8
.github/actions/execute-command/action.yml
vendored
|
@ -20,8 +20,14 @@ inputs:
|
||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: 'composite'
|
||||||
steps:
|
steps:
|
||||||
|
- name: Get Mako path
|
||||||
|
id: path
|
||||||
|
run: |
|
||||||
|
echo "mako=$(realpath '${{ github.action_path }}/../../../')" >> $GITHUB_OUTPUT
|
||||||
|
shell: bash
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
poetry -n -C "${{ github.action_path }}" run ryujinx-mako ${{ inputs.command }} ${{ inputs.args }}
|
poetry -n -C "${{ steps.path.outputs.mako }}" run ryujinx-mako ${{ inputs.command }} ${{ inputs.args }}
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
MAKO_APP_ID: ${{ inputs.app_id }}
|
MAKO_APP_ID: ${{ inputs.app_id }}
|
||||||
|
|
8
.github/actions/setup-mako/action.yml
vendored
8
.github/actions/setup-mako/action.yml
vendored
|
@ -3,10 +3,16 @@ description: 'Setup the environment for Mako'
|
||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: 'composite'
|
||||||
steps:
|
steps:
|
||||||
|
- name: Get Mako path
|
||||||
|
id: path
|
||||||
|
run: |
|
||||||
|
echo "mako=$(realpath '${{ github.action_path }}/../../../')" >> $GITHUB_OUTPUT
|
||||||
|
shell: bash
|
||||||
|
|
||||||
- run: pipx install poetry
|
- run: pipx install poetry
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
cd "${{ github.action_path }}/../"
|
cd "${{ steps.path.outputs.mako }}"
|
||||||
poetry install --only main
|
poetry install --only main
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
|
@ -29,11 +29,11 @@ runs:
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Setup Mako
|
- name: Setup Mako
|
||||||
if: steps.check_dest.outputs.exists == "false"
|
if: steps.check_dest.outputs.exists == 'false'
|
||||||
uses: ./.github/actions/setup-mako
|
uses: ./.github/actions/setup-mako
|
||||||
|
|
||||||
- name: Create setup finished flag
|
- name: Create setup finished flag
|
||||||
if: steps.check_dest.outputs.exists == "false"
|
if: steps.check_dest.outputs.exists == 'false'
|
||||||
run: touch "${{ github.action_path }}/.ryujinx-mako_setup-done"
|
run: touch "${{ github.action_path }}/.ryujinx-mako_setup-done"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue