From ca55893b05357583ee58a83f23c7fafa7275434b Mon Sep 17 00:00:00 2001 From: TSR Berry <20988865+TSRBerry@users.noreply.github.com> Date: Thu, 24 Aug 2023 23:48:54 +0200 Subject: [PATCH] Add setup-mako action --- .github/actions/setup-mako/README.md | 23 +++++++++++++++++++++++ .github/actions/setup-mako/action.yml | 12 ++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 .github/actions/setup-mako/README.md create mode 100644 .github/actions/setup-mako/action.yml diff --git a/.github/actions/setup-mako/README.md b/.github/actions/setup-mako/README.md new file mode 100644 index 0000000..2580d4e --- /dev/null +++ b/.github/actions/setup-mako/README.md @@ -0,0 +1,23 @@ +# setup-mako + +A small composite action to set up the environment for Mako. + +It installs poetry and all module dependencies. + +## Usage + +Add the following steps to your workflow: + +```yml +- name: Checkout Ryujinx-Mako + uses: actions/checkout@v3 + with: + repository: Ryujinx/Ryujinx-Mako + ref: master + path: ".ryujinx-mako" + +- name: Setup Ryujinx-Mako + uses: .ryujinx-mako/.github/actions/setup-mako +``` + + diff --git a/.github/actions/setup-mako/action.yml b/.github/actions/setup-mako/action.yml new file mode 100644 index 0000000..a076da1 --- /dev/null +++ b/.github/actions/setup-mako/action.yml @@ -0,0 +1,12 @@ +name: 'Setup Ryujinx-Mako' +description: 'Setup the environment for Ryujinx-Mako' +runs: + using: 'composite' + steps: + - run: pipx install poetry + shell: bash + + - run: | + cd .ryujinx-mako + poetry install --only main + shell: bash