Skip to content

Run action

Run action #11

Workflow file for this run

name: Run action
on:
workflow_dispatch:
jobs:
case1:
strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
# https://github.com/actions/checkout
- uses: actions/checkout@v4
- uses: ./
with:
user: actions-user
- run: bash .github/workflows/display.bash
case2:
strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
# https://github.com/actions/checkout
- uses: actions/checkout@v4
with:
path: myaction
# https://github.com/actions/checkout
- uses: actions/checkout@v4
with:
path: target
- uses: ./myaction/
with:
path: target
user: github-actions
- run: bash ../myaction/.github/workflows/display.bash
working-directory: myaction
- run: bash ../myaction/.github/workflows/display.bash
working-directory: target
case3:
strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
# https://github.com/actions/checkout
- uses: actions/checkout@v4
- uses: ./
with:
global: true
user: latest-commit
- run: bash .github/workflows/display.bash
- uses: ./
with:
global: TRUE
user: LATEST-COMMIT
- run: bash .github/workflows/display.bash
case4:
strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
# https://github.com/actions/checkout
- uses: actions/checkout@v4
- uses: ./
with:
user: specific
email: [email protected]
name: hoge
- run: bash .github/workflows/display.bash