|
1 | | -name: 'Sub-split packages' |
| 1 | +name: "Sub-split packages" |
2 | 2 |
|
3 | 3 | on: |
4 | 4 | push: |
5 | 5 | branches: [main] |
6 | | - tags: ['v*'] |
| 6 | + tags: ["v*"] |
7 | 7 | workflow_dispatch: |
8 | 8 |
|
9 | 9 | env: |
@@ -40,36 +40,34 @@ jobs: |
40 | 40 | matrix: |
41 | 41 | package: ${{ fromJson(needs.get_packages.outputs.matrix) }} |
42 | 42 | steps: |
43 | | - - uses: actions/checkout@v4 |
| 43 | + - uses: actions/checkout@v4 |
44 | 44 | # no tag |
45 | | - - |
46 | | - if: "!startsWith(github.ref, 'refs/tags/')" |
| 45 | + - if: "!startsWith(github.ref, 'refs/tags/')" |
47 | 46 | uses: "symplify/[email protected]" |
48 | 47 | with: |
49 | 48 | # ↓ split "packages/console" directory |
50 | | - package_directory: '${{ matrix.package.directory }}' |
| 49 | + package_directory: "${{ matrix.package.directory }}" |
51 | 50 |
|
52 | 51 | # ↓ into https://github.com/tempestphp/tempest-console repository |
53 | | - repository_organization: '${{ matrix.package.organization }}' |
54 | | - repository_name: '${{ matrix.package.repository }}' |
| 52 | + repository_organization: "${{ matrix.package.organization }}" |
| 53 | + repository_name: "${{ matrix.package.repository }}" |
55 | 54 |
|
56 | 55 | # ↓ the user signed under the split commit |
57 | 56 | user_name: "aidan-casey" |
58 | 57 | |
59 | 58 |
|
60 | 59 | # with tag |
61 | | - - |
62 | | - if: "startsWith(github.ref, 'refs/tags/')" |
| 60 | + - if: "startsWith(github.ref, 'refs/tags/')" |
63 | 61 | uses: "symplify/[email protected]" |
64 | 62 | with: |
65 | 63 | tag: ${GITHUB_REF#refs/tags/} |
66 | 64 |
|
67 | 65 | # ↓ split "packages/console" directory |
68 | | - package_directory: '${{ matrix.package.directory }}' |
| 66 | + package_directory: "${{ matrix.package.directory }}" |
69 | 67 |
|
70 | 68 | # ↓ into https://github.com/tempestphp/tempest-console repository |
71 | | - repository_organization: '${{ matrix.package.organization }}' |
72 | | - repository_name: '${{ matrix.package.repository }}' |
| 69 | + repository_organization: "${{ matrix.package.organization }}" |
| 70 | + repository_name: "${{ matrix.package.repository }}" |
73 | 71 |
|
74 | 72 | # ↓ the user signed under the split commit |
75 | 73 | user_name: "aidan-casey" |
|
0 commit comments