Skip to content

Commit 2df7352

Browse files
committed
build environment for book
1 parent 7dcfcd8 commit 2df7352

File tree

1 file changed

+19
-6
lines changed

1 file changed

+19
-6
lines changed

.github/workflows/release.yml

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,34 @@ name: Bump version and publish
33
on:
44
workflow_dispatch:
55

6-
jobs:
7-
tag:
8-
permissions:
9-
contents: write
6+
permissions:
7+
contents: write
108

9+
jobs:
10+
tagging:
1111
runs-on: ubuntu-latest
12+
outputs:
13+
new_tag: ${{ steps.tag_step.outputs.new_tag }}
1214

1315
steps:
1416
- name: Generate Tag
15-
uses: cvxgrp/.github/actions/tag@v2.2.8
17+
id: tag_step
18+
uses: tschm/cradle/actions/tag@v0.1.57
1619
with:
1720
github_token: ${{ secrets.GITHUB_TOKEN }}
1821

22+
build:
23+
runs-on: ubuntu-latest
24+
needs: tagging
25+
steps:
26+
- name: build
27+
uses: tschm/cradle/actions/build@v0.1.57
28+
with:
29+
tag: ${{ needs.tagging.outputs.new_tag }}
30+
31+
1932
publish:
20-
needs: tag
33+
needs: build
2134
runs-on: ubuntu-latest
2235
environment: release
2336

0 commit comments

Comments
 (0)