Merge pull request #58 from KGeetings/master #30
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
name: Build | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ master ] | |
paths: | |
- 'PlaylistManager.sln' | |
- 'PlaylistManager/**' | |
- '.github/workflows/master.yml' | |
jobs: | |
Build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 5.0.x | |
- name: Download SIRA References | |
uses: ProjectSIRA/download-sira-stripped@1.0.0 | |
with: | |
manifest: ${{github.workspace}}/PlaylistManager/manifest.json | |
sira-server-code: ${{ secrets.SIRA_SERVER_CODE }} | |
- name: Download Mod Dependencies | |
uses: Goobwabber/download-beatmods-deps@1.2 | |
with: | |
manifest: ${{github.workspace}}/PlaylistManager/manifest.json | |
- name: Download Playlists Lib | |
uses: dawidd6/action-download-artifact@v2.14.0 | |
with: | |
workflow: BuildMaster.yml | |
workflow_conclusion: success | |
name: BeatSaberPlaylistsLib_BS | |
repo: Zingabopp/BeatSaberPlaylistsLib | |
path: ${{github.workspace}}/Refs | |
- name: Build | |
id: Build | |
run: dotnet build --configuration Release | |
- name: GitStatus | |
run: git status | |
- name: Echo Filename | |
run: echo $BUILDTEXT \($ASSEMBLYNAME\) | |
env: | |
BUILDTEXT: Filename=${{ steps.Build.outputs.filename }} | |
ASSEMBLYNAME: AssemblyName=${{ steps.Build.outputs.assemblyname }} | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v1 | |
with: | |
name: "PlaylistManager" | |
path: ${{ steps.Build.outputs.artifactpath }} |