Skip to content

Commit faf84b6

Browse files
authored
Merge pull request #32 from IvanKuchin/gh-actions
infrastructure: gh action publish improvement
2 parents 127ec9f + e2f7f18 commit faf84b6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99
contents: write
1010

1111
jobs:
12-
test-release:
12+
release-pre-checks:
1313
name: Test, lint and attempt to build
1414
runs-on: ubuntu-latest
1515

@@ -34,7 +34,7 @@ jobs:
3434
# from building the release so that we only create the release once.
3535
create-release:
3636
name: create-release
37-
needs: ['test-release']
37+
needs: ['release-pre-checks']
3838
runs-on: ubuntu-latest
3939
steps:
4040
- uses: actions/checkout@v4
@@ -49,7 +49,7 @@ jobs:
4949
run: |
5050
if ! grep "version = \"$VERSION\"" Cargo.toml; then
5151
echo "version does not match Cargo.toml" >&2
52-
# exit 1
52+
exit 1
5353
fi
5454
- name: Create GitHub release
5555
env:

0 commit comments

Comments
 (0)