Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
iPixelGalaxy committed Oct 16, 2023
0 parents commit 98fbfc1
Show file tree
Hide file tree
Showing 17 changed files with 1,645 additions and 0 deletions.
63 changes: 63 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto

###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp

###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary

###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary

###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain
12 changes: 12 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: pixelboom
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
52 changes: 52 additions & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
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/[email protected]
with:
manifest: ${{github.workspace}}/PlaylistManager/manifest.json
sira-server-code: ${{ secrets.SIRA_SERVER_CODE }}
- name: Download Mod Dependencies
uses: Goobwabber/[email protected]
with:
manifest: ${{github.workspace}}/PlaylistManager/manifest.json
- name: Download Playlists Lib
uses: dawidd6/[email protected]
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 }}
50 changes: 50 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: PR Build

on:
pull_request:
branches: [ master ]
paths:
- 'PlaylistManager/**'
- '.github/workflows/**.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/[email protected]
with:
manifest: ${{github.workspace}}/PlaylistManager/manifest.json
sira-server-code: ${{ secrets.SIRA_SERVER_CODE }}
- name: Download Mod Dependencies
uses: Goobwabber/[email protected]
with:
manifest: ${{github.workspace}}/PlaylistManager/manifest.json
- name: Download Playlists Lib
uses: dawidd6/[email protected]
with:
workflow: BuildMaster.yml
workflow_conclusion: success
name: BeatSaberPlaylistsLib_BS
repo: rithik-b/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 }}
Loading

0 comments on commit 98fbfc1

Please sign in to comment.