|
82 | 82 |
|
83 | 83 |
|
84 | 84 | jobs:
|
85 |
| -# compute-projects: |
86 |
| -# uses: ./.github/workflows/compute-projects.yml |
87 |
| -# with: |
88 |
| -# tagChoice: ${{ github.event.inputs.tagChoice }} |
89 |
| -# project1: ${{ github.event.inputs.project1 }} |
90 |
| -# project2: ${{ github.event.inputs.project2 }} |
91 |
| -# project3: ${{ github.event.inputs.project3 }} |
92 |
| -# project4: ${{ github.event.inputs.project4 }} |
93 |
| -# |
94 |
| -# test: |
95 |
| -# needs: [compute-projects] |
96 |
| -# uses: ./.github/workflows/test.yml |
97 |
| -# with: |
98 |
| -# mainBranch: "last-tag" |
99 |
| -# secrets: |
100 |
| -# NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} |
101 |
| -# |
102 |
| -# e2e-test: |
103 |
| -# needs: [test] |
104 |
| -# uses: ./.github/workflows/e2e-test.yml |
105 |
| -# with: |
106 |
| -# mainBranch: "last-tag" |
107 |
| -# secrets: |
108 |
| -# NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} |
109 |
| -# |
110 |
| -# build: |
111 |
| -# needs: [test, e2e-test] |
112 |
| -# uses: ./.github/workflows/build.yml |
113 |
| -# with: |
114 |
| -# mainBranch: "last-tag" |
115 |
| -# secrets: |
116 |
| -# NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} |
117 |
| -# |
118 |
| -# upload-badge: |
119 |
| -# needs: [ test, e2e-test ] |
120 |
| -# uses: ./.github/workflows/upload-badge.yml |
121 |
| -# with: |
122 |
| -# mainBranch: "last-tag" |
123 |
| -# secrets: |
124 |
| -# NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} |
125 |
| -# GIST_SECRET: ${{ secrets.GIST_SECRET }} |
126 |
| -# GIST_ID: ${{ secrets.GIST_ID }} |
| 85 | + compute-projects: |
| 86 | + uses: ./.github/workflows/compute-projects.yml |
| 87 | + with: |
| 88 | + tagChoice: ${{ github.event.inputs.tagChoice }} |
| 89 | + project1: ${{ github.event.inputs.project1 }} |
| 90 | + project2: ${{ github.event.inputs.project2 }} |
| 91 | + project3: ${{ github.event.inputs.project3 }} |
| 92 | + project4: ${{ github.event.inputs.project4 }} |
127 | 93 |
|
128 |
| -# bump-version: |
129 |
| -# needs: [build] |
130 |
| -# uses: ./.github/workflows/bump-version.yml |
131 |
| -# with: |
132 |
| -# projects: ${{ needs.compute-projects.outputs.finalProjects }} |
133 |
| -# beta-release: ${{ fromJSON(github.event.inputs.beta-release) }} |
134 |
| -# dry-run: ${{ fromJSON(github.event.inputs.dry-run) }} |
135 |
| -# secrets: |
136 |
| -# NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
137 |
| -# GITHUB_TOKEN_SECRET: ${{ secrets.GITHUB_TOKEN }} |
138 |
| -# PAT: ${{secrets.PAT}} |
| 94 | + test: |
| 95 | + needs: [compute-projects] |
| 96 | + uses: ./.github/workflows/test.yml |
| 97 | + with: |
| 98 | + mainBranch: "last-tag" |
| 99 | + secrets: |
| 100 | + NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} |
| 101 | + |
| 102 | + e2e-test: |
| 103 | + needs: [test] |
| 104 | + uses: ./.github/workflows/e2e-test.yml |
| 105 | + with: |
| 106 | + mainBranch: "last-tag" |
| 107 | + secrets: |
| 108 | + NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} |
| 109 | + |
| 110 | + build: |
| 111 | + needs: [test, e2e-test] |
| 112 | + uses: ./.github/workflows/build.yml |
| 113 | + with: |
| 114 | + mainBranch: "last-tag" |
| 115 | + secrets: |
| 116 | + NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} |
| 117 | + |
| 118 | + upload-badge: |
| 119 | + needs: [ test, e2e-test ] |
| 120 | + uses: ./.github/workflows/upload-badge.yml |
| 121 | + with: |
| 122 | + mainBranch: "last-tag" |
| 123 | + secrets: |
| 124 | + NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} |
| 125 | + GIST_SECRET: ${{ secrets.GIST_SECRET }} |
| 126 | + GIST_ID: ${{ secrets.GIST_ID }} |
| 127 | + |
| 128 | + bump-version: |
| 129 | + needs: [build] |
| 130 | + uses: ./.github/workflows/bump-version.yml |
| 131 | + with: |
| 132 | + projects: ${{ needs.compute-projects.outputs.finalProjects }} |
| 133 | + beta-release: ${{ fromJSON(github.event.inputs.beta-release) }} |
| 134 | + dry-run: ${{ fromJSON(github.event.inputs.dry-run) }} |
| 135 | + secrets: |
| 136 | + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 137 | + GITHUB_TOKEN_SECRET: ${{ secrets.GITHUB_TOKEN }} |
| 138 | + PAT: ${{secrets.PAT}} |
139 | 139 |
|
140 | 140 | publish:
|
141 | 141 | if: ${{ fromJSON(github.event.inputs.dry-run) == false }}
|
142 |
| -# needs: [bump-version] |
| 142 | + needs: [bump-version] |
143 | 143 | uses: ./.github/workflows/publish.yml
|
144 | 144 | secrets:
|
145 | 145 | NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
0 commit comments