Skip to content

Commit

Permalink
debugging CI
Browse files Browse the repository at this point in the history
  • Loading branch information
JustMarfix committed Aug 31, 2024
1 parent 6b699d6 commit 7b6ae6b
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,32 +14,29 @@ jobs:
if: ${{ !contains(github.event.head_commit.message, '#no-code') }}
steps:
- uses: actions/checkout@v2

- name: Setup Nuget
uses: iRebbok/setup-nuget@master

- name: Restore Packages
run: nuget restore VeryUsualDay.sln

- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1

- name: Get references
shell: pwsh
run: |
Invoke-WebRequest -Uri https://misaka-zerotwo.github.io/SL-References/Master.zip -OutFile ${{ github.workspace }}/References.zip
Expand-Archive -Path References.zip -DestinationPath ${{ github.workspace }}\lib
- name: Build
run: msbuild VeryUsualDay.sln -p:Configuration=release
env:
EXILED_REFERENCES: ${{ github.workspace }}\lib

- name: Upload Build
uses: actions/upload-artifact@v4
with:
name: Plugin
name: plugin
path: ${{ github.workspace }}\bin\Release\VeryUsualDay.dll
- name: List contents
shell: pwsh
run: ls -R
deploy-testing:
name: Deploy plugin to the testing server
needs: build
Expand All @@ -50,8 +47,10 @@ jobs:
- name: Download a single artifact
uses: actions/download-artifact@v4
with:
name: Plugin
name: plugin
path: VeryUsualDay.dll
- name: List all files
run: ls -R
- name: Deploy plugin to the server
uses: rexlmanu/pterodactyl-upload-action@v2.1
with:
Expand Down

0 comments on commit 7b6ae6b

Please sign in to comment.