Skip to content

released v0.1.14

released v0.1.14 #27

Workflow file for this run

name: CI Pipeline
# Steps:
# 1. Run ci.yml for every push to the main branch
# 2. Run tag.yml for every completed run of the CI Pipeline
# 3. Run cd.yml for every tag-creation-success event
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
if: github.repository == 'jaywcjlove/sgo-rs'
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.rust == 'nightly' }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
rust: [1.74.0, stable, beta, nightly]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Save commit message to environment variable
run: echo "COMMIT_MESSAGE=${{ github.event.head_commit.message }}" >> $GITHUB_ENV
- name: Run dtolnay/rust-toolchain${{contains(matrix.rust, ' ') && ' for ' || '@'}}${{matrix.rust}}
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.rust }}
- name: Build
run: cargo build --release