Skip to content

Commit a6d7b0c

Browse files
ads102003MrBlue
authored andcommitted
Use GH actions to build via new reusable workflow
fix csproj
1 parent 75acead commit a6d7b0c

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

.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.Core
15+
secrets:
16+
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
17+
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
18+
REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}

src/Oxide.Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<Authors>Oxide Team and Contributors</Authors>
99
<Copyright>(c) 2013-$([System.DateTime]::Now.Year) $(Authors)</Copyright>
1010
<Description>Core component for the Oxide modding framework</Description>
11-
<RepositoryUrl>https://github.com/OxideMod/Oxide.CSharp</RepositoryUrl>
11+
<RepositoryUrl>https://github.com/OxideMod/Oxide.Core</RepositoryUrl>
1212
<PackageIconUrl>icon.png</PackageIconUrl>
1313
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1414
<PackageProjectUrl>$(RepositoryUrl)</PackageProjectUrl>

0 commit comments

Comments
 (0)