Skip to content

Deploy Terrarium @ 87c3f23edb2b1e52842c0caf0f1a5837fa0c79c6 #12

Deploy Terrarium @ 87c3f23edb2b1e52842c0caf0f1a5837fa0c79c6

Deploy Terrarium @ 87c3f23edb2b1e52842c0caf0f1a5837fa0c79c6 #12

Workflow file for this run

name: Deploy Terrarium
concurrency: deploy
run-name: Deploy Terrarium @ ${{ github.event.workflow_run.head_sha }}
on:
workflow_run:
workflows: ["Rust Test"]
types: [completed]
branches: "main"
jobs:
build:
name: Build Release
runs-on: ubuntu-latest
steps:
- name: Fail Deploy if Tests Failed
run: exit 1
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
- name: Setup | Checkout
with:
ref: ${{ github.event.workflow_run.head_sha }}
uses: actions/checkout@v3
- name: Setup | Rust
uses: ATiltedTree/setup-rust@v1
with:
rust-version: nightly
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: protobuf-compiler
version: v0
- uses: Swatinem/rust-cache@v2
with:
prefix-key: "v0-rust"
- name: Build
run: cargo build --release --all-targets
- name: Upload Releases
uses: actions/upload-artifact@v3
with:
name: releases
path: |
target/release/web-axum
target/release/web-rocket
target/release/web-lambda
target/release/sherlock