perf: 允许配置组件按需运行 #57
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: "Run Build Test" | |
on: | |
push: | |
branches: | |
- pr@* | |
- repr@* | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: | | |
mkdir -p release/lina release/luna release/applets | |
- uses: docker/setup-qemu-action@v2 | |
- uses: docker/setup-buildx-action@v2 | |
- uses: docker/build-push-action@v3 | |
with: | |
context: . | |
push: false | |
tags: jumpserver/web:test | |
file: Dockerfile | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
- uses: LouisBrunner/[email protected] | |
if: always() | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
name: Check Build | |
conclusion: ${{ job.status }} |