Custom Rooms + Server global
All checks were successful
Galvanic Corrosion Cross-Compile / build (push) Successful in 49s
All checks were successful
Galvanic Corrosion Cross-Compile / build (push) Successful in 49s
* Added Storage and room saving (will be moved to events later)
* Moved `UnifiedProfile` to new `Server` object, along with `CDN`
- Will move `Rooms` and others to this later
This commit is contained in:
44
.gitea/workflows/test.yaml
Normal file
44
.gitea/workflows/test.yaml
Normal file
@@ -0,0 +1,44 @@
|
||||
name: Galvanic Corrosion Cross-Compile
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: 'zombieb/galvanic-corrosion'
|
||||
|
||||
- uses: denoland/setup-deno@v2
|
||||
with:
|
||||
deno-version: v2.x
|
||||
|
||||
- name: Run cross-compile task
|
||||
run: |
|
||||
deno run cross-compile
|
||||
|
||||
- name: Get short commit hash
|
||||
id: get_hash
|
||||
run: echo "HASH=$(git rev-parse --short=12 HEAD)" >> $GITHUB_ENV
|
||||
|
||||
- name: Discord Webhook
|
||||
if: success()
|
||||
uses: tsickert/discord-webhook@v7.0.0
|
||||
with:
|
||||
webhook-url: ${{ secrets.WEBHOOK_URL }}
|
||||
username: Galvanic Corrosion Tests
|
||||
embed-title: Test ${{ env.HASH }} Success
|
||||
embed-color: 5763719
|
||||
|
||||
- name: Discord Webhook
|
||||
if: failure()
|
||||
uses: tsickert/discord-webhook@v7.0.0
|
||||
with:
|
||||
webhook-url: ${{ secrets.WEBHOOK_URL }}
|
||||
username: Galvanic Corrosion Tests
|
||||
embed-title: Test ${{ env.HASH }} Failure
|
||||
embed-color: 15548997
|
||||
Reference in New Issue
Block a user