Skip to content
This repository has been archived by the owner on Jan 19, 2025. It is now read-only.

Commit

Permalink
Update halloween.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Misaka-ZeroTwo authored Dec 21, 2023
1 parent e9ada34 commit 502919f
Showing 1 changed file with 22 additions and 6 deletions.
28 changes: 22 additions & 6 deletions .github/workflows/halloween.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
name: Exiled Halloween CI
name: Exiled XMAS CI

on:
push:
branches:
- 'halloween-2023'
- 'xmas-2023'
pull_request:
branches:
- 'halloween-2023'
- 'xmas-2023'
workflow_dispatch:

env:
EXILED_REFERENCES_URL: https://exiled.host/build_deps/Dev.zip
EXILED_REFERENCES_URL: https://misaka-zerotwo.github.io/SL-References/Dev.zip
EXILED_REFERENCES_PATH: ${{ github.workspace }}/References
EXILED_DLL_ARCHIVER_URL: https://github.com/Exiled-Team/EXILED-DLL-Archiver/releases/latest/download/EXILED-DLL-Archiver.exe

jobs:

Expand Down Expand Up @@ -46,8 +47,23 @@ jobs:
$File = (Get-ChildItem -Path . -Include 'EXILED.*.nupkg' -Recurse).Name
Out-File -FilePath ${{ github.env }} -InputObject "PackageFile=$File" -Encoding utf-8 -Append
- name: Upload nuget package
uses: actions/upload-artifact@v2
with:
name: ${{ env.PackageFile }}
path: ${{ env.PackageFile }}

- name: Get references
shell: pwsh
run: |
Invoke-WebRequest -Uri ${{ env.EXILED_DLL_ARCHIVER_URL }} -OutFile ${{ github.workspace }}/EXILED-DLL-Archiver.exe
- name: Packaging results as tar.gz
shell: pwsh
run: ./packaging.ps1

- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: Build Results
path: bin/Release
name: Build Result
path: bin/Release/Exiled.tar.gz

0 comments on commit 502919f

Please sign in to comment.