Skip to content

Commit a2ca28e

Browse files
committed
ci: Update step dependency
1 parent 674d9e0 commit a2ca28e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,14 @@ jobs:
2323
env:
2424
GH_TOKEN: ${{ secrets.GH_TOKEN }}
2525
- name: Post Release Checkout
26+
id: post_release
2627
uses: actions/checkout@v3
2728
if: steps.semantic.outputs.new_release_published == 'true'
2829
with:
2930
ref: ${{ steps.semantic.outputs.new_release_version }}
3031
- name: Split UPM Branch
32+
id: split_upm
33+
if: steps.post_release.outcome == "success"
3134
run: |
3235
git branch -d upm &> /dev/null || echo upm branch not found
3336
git subtree split -P "$PKG_ROOT" -b upm
@@ -43,6 +46,7 @@ jobs:
4346
env:
4447
PKG_ROOT: Packages/mygamedevtools-scene-loader
4548
- name: Create UPM Tag
49+
if: steps.split_upm.outcome == "success"
4650
run: |
4751
git tag $TAG upm
4852
git push origin --tags

0 commit comments

Comments
 (0)