Skip to content

Commit 8bb1d68

Browse files
author
KC3ZVD
committed
feat: determine new version and test output
1 parent b71ea2e commit 8bb1d68

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/build.yml

+12-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,17 @@ on:
55
branches: [ci]
66

77
jobs:
8-
on-success:
8+
version:
99
runs-on: ubuntu-latest
1010
steps:
11-
- run: echo 'The test workflow passed'
11+
- id: bump-version
12+
run: echo "NEW_VERSION=`hatch run ci:bump-version`" >> "$GITHUB_OUTPUT"
13+
outputs:
14+
new-version: ${{ steps.bump-version.outputs.NEW_VERSION }}
15+
verify:
16+
runs-on: ubuntu-latest
17+
needs: version
18+
steps:
19+
- env:
20+
NEW_VERSION: ${{ needs.version.outputs.new-version }}
21+
run: echo "NEW VERSION: $NEW_VERSION"

0 commit comments

Comments
 (0)