-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6163a0e
commit 07c29ba
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Release Chonks.dll to Chonks.Unity | ||
|
||
on: | ||
push: | ||
branches: [ develop ] | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
name: Release Chonks DLL | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: ${{ matrix.dotnet }} | ||
- name: Restore dependencies | ||
run: dotnet restore | ||
- name: Build | ||
run: dotnet build --no-restore --configuration Release | ||
- name: Copy DLL To Chonks.Unity Package Directory | ||
run: cp ./src/Chonks/bin/Release/netstandard2.0/Chonks.dll ./Packages/Chonks.Unity | ||
- name: Publish DLL | ||
run: | | ||
git add ./Packages/Chonks.Unity/Chonks.dll | ||
git commit -m 'update Chonks.dll for Chonks.Unity' | ||
git push | ||
|