mirror of
https://github.com/Ryujinx/Ryujinx-Mako.git
synced 2024-06-03 00:18:57 +02: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:
|
||||
using: 'composite'
|
||||
steps:
|
||||
- name: Get Mako path
|
||||
id: path
|
||||
run: |
|
||||
echo "mako=$(realpath '${{ github.action_path }}/../../../')" >> $GITHUB_OUTPUT
|
||||
shell: bash
|
||||
|
||||
- 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
|
||||
env:
|
||||
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:
|
||||
using: 'composite'
|
||||
steps:
|
||||
- name: Get Mako path
|
||||
id: path
|
||||
run: |
|
||||
echo "mako=$(realpath '${{ github.action_path }}/../../../')" >> $GITHUB_OUTPUT
|
||||
shell: bash
|
||||
|
||||
- run: pipx install poetry
|
||||
shell: bash
|
||||
|
||||
- run: |
|
||||
cd "${{ github.action_path }}/../"
|
||||
cd "${{ steps.path.outputs.mako }}"
|
||||
poetry install --only main
|
||||
shell: bash
|
||||
|
|
|
@ -29,11 +29,11 @@ runs:
|
|||
shell: bash
|
||||
|
||||
- name: Setup Mako
|
||||
if: steps.check_dest.outputs.exists == "false"
|
||||
if: steps.check_dest.outputs.exists == 'false'
|
||||
uses: ./.github/actions/setup-mako
|
||||
|
||||
- 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"
|
||||
shell: bash
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user