mirror of
https://github.com/obi1kenobi/cargo-semver-checks-action.git
synced 2024-11-25 17:39:33 +01:00
Id fix
This commit is contained in:
parent
5801563129
commit
35aa6c3e0a
1 changed files with 2 additions and 3 deletions
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
@ -28,15 +28,14 @@ jobs:
|
||||||
- name: Checkout branch patch_change
|
- name: Checkout branch patch_change
|
||||||
run: git checkout patch_change
|
run: git checkout patch_change
|
||||||
- name: Run action
|
- name: Run action
|
||||||
id: action
|
|
||||||
uses: ./action/
|
uses: ./action/
|
||||||
# test with semver violation
|
# test with semver violation
|
||||||
- name: Checkout branch major_change
|
- name: Checkout branch major_change
|
||||||
run: git checkout major_change
|
run: git checkout major_change
|
||||||
- name: Run action
|
- name: Run action
|
||||||
id: action
|
id: action_major
|
||||||
uses: ./action/
|
uses: ./action/
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
- name: Check if the action failed
|
- name: Check if the action failed
|
||||||
if: steps.action.outcome != 'failure'
|
if: steps.action_major.outcome != 'failure'
|
||||||
run: exit 1
|
run: exit 1
|
||||||
|
|
Loading…
Reference in a new issue