Skip to content

Commit aec9357

Browse files
authored
Merge pull request #1725 from mrrobot47/fix/release-automation
Fix version build on automation
2 parents 2659608 + a3c4cd6 commit aec9357

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/test_and_build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454
fi
5555
5656
- name: Setup EE version
57+
if: ${{ ! startsWith(github.ref, 'refs/tags/') }}
5758
run: |
5859
cd "$GITHUB_WORKSPACE"
5960
if [[ "$GITHUB_REF" != $DEPLOY_BRANCH ]]; then
@@ -173,7 +174,7 @@ jobs:
173174
name: Deploy Phar
174175
if: |
175176
github.repository_owner == 'EasyEngine' &&
176-
(github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/'))
177+
(github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master')
177178
runs-on: ubuntu-latest
178179
needs: [build, test]
179180

@@ -231,7 +232,7 @@ jobs:
231232
github.repository_owner == 'EasyEngine' &&
232233
startsWith(github.ref, 'refs/tags/')
233234
runs-on: ubuntu-latest
234-
needs: [build, test, deploy]
235+
needs: [build, test]
235236

236237
steps:
237238
- name: Check out source code

0 commit comments

Comments
 (0)