-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (41 loc) · 1.36 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Main
on:
workflow_dispatch:
pull_request:
branches:
- main
env:
S3_BUCKET: ${{ secrets.S3_BUCKET }}
ZIP_FILE: ${{ secrets.ZIP_FILE }}
jobs:
RoboHelp:
name: "RoboHelp"
runs-on: windows-2022
env:
LANGUAGE: ${{ vars.LANGUAGE }}
steps:
- uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.REGION }}
- name: Enable git long paths to bypass path limit on Windows
run: git config --system core.longpaths true
- name: Check out the GMS2_Documentation repo
uses: actions/checkout@v4
with:
path: Manual
token: ${{ secrets.GH_TOKEN }}
- name: Monthly Builds
if: github.event.pull_request.base.ref == 'main' || github.event_name == 'workflow_dispatch'
env:
BUILDBETA: '0'
run: build_robohelp_gh.bat %GITHUB_WORKSPACE%\output
shell: cmd
working-directory: Manual
- name: Upload robohelp zip file
uses: actions/upload-artifact@v3
with:
name: YoYoStudioRoboHelp
path: output\RoboHelp\*.zip
if-no-files-found: error