mirror of
https://github.com/Ryujinx/Ryujinx-Mako.git
synced 2024-12-23 00:25:39 +00:00
66a1029bd5
* Create multiple actions to make Mako easier to use * Add smoke tests for the new actions * Check if the required env vars aren't empty * Fix working directory for execute-command * Fix action_path references * Fix broken setup_git command * Add exec-ryujinx-tasks subcommand * Ensure python and pipx are installed * Improve help output * Add required environment variables to README.md * Add small script to generate subcommand sections automatically * Adjust help messages for ryujinx tasks as well * Remove required argument for positionals * Add exec-ryujinx-tasks to subcommands list * Apply black formatting * Fix event name for update-reviewers
36 lines
865 B
YAML
36 lines
865 B
YAML
name: Test
|
|
|
|
on:
|
|
push:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
action:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Test Ryujinx-Mako (setup-git)
|
|
uses: ./
|
|
with:
|
|
command: setup-git
|
|
app_id: ${{ secrets.MAKO_APP_ID }}
|
|
private_key: ${{ secrets.MAKO_PRIVATE_KEY }}
|
|
installation_id: ${{ secrets.MAKO_INSTALLATION_ID }}
|
|
|
|
subactions:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Test setup-mako
|
|
uses: ./.github/actions/setup-mako
|
|
|
|
- name: Test execute-command (setup-git)
|
|
uses: ./.github/actions/execute-command
|
|
with:
|
|
command: setup-git
|
|
app_id: ${{ secrets.MAKO_APP_ID }}
|
|
private_key: ${{ secrets.MAKO_PRIVATE_KEY }}
|
|
installation_id: ${{ secrets.MAKO_INSTALLATION_ID }}
|