This repository has been archived on 2026-03-19. You can view files and clone it, but cannot push or open issues or pull requests.
Files
galvanic-corrosion/.gitea/workflows/test.yaml
zombieb 648d46986c
All checks were successful
Galvanic Corrosion Cross-Compile / build (push) Successful in 49s
Custom Rooms + Server global
* 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
2025-05-24 21:20:30 -04:00

44 lines
1.1 KiB
YAML

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