LoginSignup
2
2

More than 1 year has passed since last update.

ループ処理【GitHubActions】

Posted at

やりたいこと

GitHubActionsのワークフローで、繰り返し処理を実装したい。

やりかた

strategy句を使用する。

jobs:
    sample-job:
        runs-on: ubuntu-latest
        strategy:
            matrix:
                aaa: [hoge, fuga]
        
        steps:
            - name: sample
              run: |
                echo "${{ matrix.aaa }}"  

参考

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2