fix(ci): Simplify release process. #635
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
pull_request: {} | |
workflow_dispatch: {} | |
env: | |
CI: "true" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
repository: ${{ github.event.pull_request.head.repo.full_name }} | |
- name: Install Rust toolchain | |
uses: dtolnay/rust-toolchain@stable | |
- name: Install Zig toolchain | |
uses: korandoru/setup-zig@v1 | |
with: | |
zig-version: 0.13.0 | |
- name: Install Cargo Lambda | |
uses: jaxxstorm/[email protected] | |
with: | |
repo: cargo-lambda/cargo-lambda | |
tag: v1.5.0 | |
platform: linux | |
arch: x86_64 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
- uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '7.x' | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.x' | |
- uses: actions/setup-java@v4 | |
with: | |
java-version: '17.x' | |
distribution: 'temurin' | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12.3 | |
- name: Install dependencies | |
run: npx projen install:ci | |
- name: Build | |
run: npx projen build --verbose | |
- name: Build JS Artifact | |
run: npx projen package:js | |
- name: Build Java Artifact | |
run: npx projen package:java | |
- name: Build Python Artifact | |
run: npx projen package:python | |
- name: Build Dotnet Artifact | |
run: npx projen package:dotnet | |
- name: Build Go Artifact | |
run: npx projen package:go |