Skip to content

Commit

Permalink
Merge pull request #16 from YoYoGames/update.robohelp.version
Browse files Browse the repository at this point in the history
added condition to run on beta and non-beta branch
  • Loading branch information
gurpreetsinghmatharoo authored Sep 7, 2023
2 parents c8d6f05 + 9fe14e9 commit 98fd75b
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
on:
pull_request:
types: [ closed ]
workflow_dispatch:
schedule:
pull_request:
branches:
- develop
- main
workflow_dispatch:
schedule:
- cron: '0 4 * * 1-5'

env:
Expand All @@ -27,13 +29,14 @@ jobs:
with:
path: Manual
token: ${{ secrets.GH_TOKEN }}
- name: Beta Builds
if: github.event.pull_request.base.ref == 'develop'
run: build_robohelp_gh.bat -beta %GITHUB_WORKSPACE%\output
shell: cmd
working-directory: Manual
- name: Builds
run: |
if [ ${{ github.event.pull_request.base.ref }} == 'develop']; then
build_robohelp_gh.bat -beta %GITHUB_WORKSPACE%\output
else
build_robohelp_gh.bat %GITHUB_WORKSPACE%\output
fi
if: github.event.pull_request.base.ref == 'main'
run: build_robohelp_gh.bat %GITHUB_WORKSPACE%\output
shell: cmd
working-directory: Manual
- name: Upload robohelp zip file
Expand Down

0 comments on commit 98fd75b

Please sign in to comment.