refactoring(gtest): Introduce gear_common
s mailbox to gtest
(#4010)
#11196
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: CI | |
on: | |
schedule: | |
- cron: "0 3 * * *" | |
push: | |
branches: [ master ] | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
CARGO_TERM_COLOR: always | |
RUST_BACKTRACE: short | |
TERM: xterm-256color | |
BINARYEN_VERSION: version_111 | |
jobs: | |
check: | |
uses: ./.github/workflows/check.yml | |
build: | |
uses: ./.github/workflows/build.yml | |
with: | |
macos: true | |
win-native: true | |
release: true | |
production: true | |
upload: | |
if: github.event_name == 'push' && github.ref_name == 'master' | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- name: Download artifacts | |
uses: actions/download-artifact@v4 | |
- name: Delete previous release | |
uses: dev-drprasad/[email protected] | |
with: | |
delete_release: true | |
tag_name: build | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Sleep | |
run: sleep 10 | |
- name: Upload | |
uses: softprops/action-gh-release@v2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
prerelease: true | |
tag_name: build | |
draft: false | |
fail_on_unmatched_files: true | |
files: artifact/* |