mirror of
https://github.com/Ryujinx/Ryujinx-Mako.git
synced 2024-06-03 00:18:57 +02:00
Add setup-mako action
This commit is contained in:
parent
23f694e547
commit
ca55893b05
23
.github/actions/setup-mako/README.md
vendored
Normal file
23
.github/actions/setup-mako/README.md
vendored
Normal file
|
@ -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
|
||||
```
|
||||
|
||||
|
12
.github/actions/setup-mako/action.yml
vendored
Normal file
12
.github/actions/setup-mako/action.yml
vendored
Normal file
|
@ -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
|
Loading…
Reference in New Issue
Block a user