Skip to content

Commit

Permalink
Create release-unity.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
codeimpossible committed Aug 23, 2021
1 parent 6163a0e commit 07c29ba
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release-unity.yaml
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

0 comments on commit 07c29ba

Please sign in to comment.