-
Notifications
You must be signed in to change notification settings - Fork 20
51 lines (41 loc) · 1.25 KB
/
pull.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
47
48
49
50
51
name: Redstone Pull Request
concurrency: production
on:
pull_request:
branches:
- 'master'
jobs:
stable:
runs-on: ubuntu-latest
steps:
- name: Setup GitHub Runner
run: |
sudo apt update
sudo apt install dos2unix
- name: Checkout Pull Request
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Run Chmod
run: chmod 777 .github/scripts/build.sh
- name: Build Stable
run: ./.github/scripts/build.sh -v --sourcemod=1.11.0-6911 --out=build
shell: bash
develop:
runs-on: ubuntu-latest
steps:
- name: Setup GitHub Runner
run: |
sudo apt update
sudo apt install dos2unix
- name: Checkout Pull Request
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Run Chmod
run: chmod 777 .github/scripts/build.sh
- name: Build Develop
run: ./.github/scripts/build.sh -v --sourcemod=1.12.0-7100 --out=build
shell: bash