perf:Optimize the execution efficiency of all and reverse selection #2476
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 | |
- uses: docker/setup-qemu-action@v2 | |
- uses: docker/setup-buildx-action@v2 | |
- uses: docker/build-push-action@v3 | |
with: | |
context: . | |
push: false | |
tags: jumpserver/lina: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 }} |