Skip to content

Commit 6a236b8

Browse files
committed
Use GH actions to build via new reusable workflow
1 parent fbd3f8e commit 6a236b8

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
workflow_dispatch:
6+
7+
jobs:
8+
build:
9+
name: Build solution
10+
uses: OxideMod/Actions/.github/workflows/project-build.yml@main
11+
with:
12+
branch-postfix: ${{ github.ref_name != 'master' && format('-{0}', github.ref_name) || '' }}
13+
version-prefix: '2.0'
14+
project-name: Oxide.SQLite
15+
secrets:
16+
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
17+
REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
18+
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}

0 commit comments

Comments
 (0)