Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.0.0 dev #3

Merged
merged 6 commits into from
Nov 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: CI Build
on:
push:
branches:
- dev
pull_request:
branches:
- master
- dev
workflow_dispatch:
env:
REFERENCES_URL: https://misaka-zerotwo.github.io/SL-References/Dev.zip
REFERENCES_PATH: ${{ github.workspace }}/References
jobs:
build:
runs-on: windows-latest

steps:
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v3

- uses: actions/[email protected]

- name: Restore Packages
run: nuget restore

- name: Get Build References
shell: pwsh
run: |
Invoke-WebRequest -Uri ${{ env.REFERENCES_URL }} -OutFile ${{ github.workspace }}/Dev.zip
Expand-Archive -Path Dev.zip -DestinationPath ${{ env.REFERENCES_PATH }}

- name: Setup MSBuild.exe
uses: microsoft/Setup-MSBuild@v1
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'

- name: Build
run: |
msbuild RainbowTags\RainbowTags.csproj -t:rebuild -property:Configuration=Release -property:ReferencePath="${{ env.REFERENCES_PATH }}"

- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: Build Result
path: "RainbowTags/bin/Release/RainbowTags.dll"