Skip to content

ci(bcr): remove the old workflow and cleanup new. #152

ci(bcr): remove the old workflow and cleanup new.

ci(bcr): remove the old workflow and cleanup new. #152

Workflow file for this run

---
name: CI
on: # yamllint disable rule:truthy
push:
branches:
- main
tags:
- "*.*.*"
pull_request:
branches:
- main
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: macos-latest
- os: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Test fetch
run: bazel fetch //...
- name: Test
run: bazel test //...
- name: Create release archive and notes
# Set by GH actions, see
# https://docs.github.com/en/actions/learn-github-actions/environment-variables#default-environment-variables
run: ./ci/package.sh "${{ github.ref_name }}"
pkg:
runs-on: ubuntu-latest
needs:
- build
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Create release archive and notes
# Set by GH actions, see
# https://docs.github.com/en/actions/learn-github-actions/environment-variables#default-environment-variables
run: ./ci/package.sh "${{ github.ref_name }}"
- name: Archive release artifacts
uses: actions/upload-artifact@v6
with:
name: release
path: release/*
retention-days: 5