Skip to content

Commit

Permalink
chore: support for dev branch (#2285) (#2361)
Browse files Browse the repository at this point in the history
Co-authored-by: Aga <[email protected]>
  • Loading branch information
m3taphysics and aixaCode authored Oct 8, 2024
1 parent c394343 commit a7a68be
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build-release-weekly.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
name: Build Weekly Release
name: Unity Cloud Build Release

on:
workflow_dispatch:
push:
branches:
- main
# schedule:
# - cron: '10 0 * * 3'
## For testing only!
# push:
# branches:
# - feat/unity-cloud-build

jobs:
get-info:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build-unitycloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
merge_group: {}
push:
branches:
- main
- dev
workflow_dispatch:
inputs:
profile:
Expand Down Expand Up @@ -95,6 +95,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
if: |
(github.ref == 'refs/heads/dev') ||
(github.ref == 'refs/heads/main') ||
(github.event_name == 'pull_request' && !github.event.pull_request.draft) ||
(github.event_name == 'pull_request' && github.event.action == 'labeled' && github.event.label.name == 'force-build') ||
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-page-release-weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Create Page Weekly Release

on:
workflow_run:
workflows: ["Build Weekly Release"]
workflows: ["Unity Cloud Build Release"]
types:
- completed

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- ready_for_review
- labeled
merge_group: {}
push: { branches: [main] }
push: { branches: [dev] }

env:
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
Expand Down

0 comments on commit a7a68be

Please sign in to comment.