-
-
Notifications
You must be signed in to change notification settings - Fork 3
40 lines (34 loc) · 1.01 KB
/
build.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
name: Build
on:
push:
jobs:
build-and-run:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
repository: BugSplat-Git/my-ubuntu-crasher
path: my-ubuntu-crasher
- name: Set PROJECT_DIR environment variable
run: echo "PROJECT_DIR=${{ github.workspace }}/my-ubuntu-crasher" >> $GITHUB_ENV
- name: Run script
working-directory: ${{ env.PROJECT_DIR }}
run: |
#!/bin/bash
cd scripts
source exports.sh
mkdir -p $OUT_DIR
bash compile.sh
bash handler.sh
bash attachment.sh
- name: Upload Symbols
uses: BugSplat-Git/symbol-upload@main
with:
clientId: "${{ secrets.SYMBOL_UPLOAD_CLIENT_ID }}"
clientSecret: "${{ secrets.SYMBOL_UPLOAD_CLIENT_SECRET }}"
database: "${{ secrets.BUGSPLAT_DATABASE }}"
application: "my-ubuntu-crasher"
version: "1.0.0"
files: "**/*.sym"
directory: "${{ env.PROJECT_DIR }}/out"