Skip to content

Commit 06855b4

Browse files
committed
ci: debug bump version
1 parent 52fa6d3 commit 06855b4

File tree

2 files changed

+53
-43
lines changed

2 files changed

+53
-43
lines changed

.github/workflows/bump-version.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,16 @@ jobs:
3838
actions: "read"
3939
id-token: "write"
4040
steps:
41+
- name: Check PAT
42+
run: |
43+
if [[ -z "${{ secrets.PAT }}" ]]; then
44+
echo "### ❌ PAT Error" >> $GITHUB_STEP_SUMMARY
45+
echo "The \`PAT\` secret is not set, which is required for git operations." >> $GITHUB_STEP_SUMMARY
46+
exit 1
47+
else
48+
echo "### ✅ PAT Found" >> $GITHUB_STEP_SUMMARY
49+
fi
50+
shell: bash
4151
- name: Settings git
4252
run: |
4353
git config --global user.email "[email protected]"

.github/workflows/new-release.yml

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -82,51 +82,51 @@ on:
8282

8383

8484
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 }}
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 }}
127127

128128
bump-version:
129-
needs: [build]
129+
# needs: [build]
130130
uses: ./.github/workflows/bump-version.yml
131131
with:
132132
projects: ${{ needs.compute-projects.outputs.finalProjects }}

0 commit comments

Comments
 (0)