This repository has been archived by the owner on Nov 21, 2024. It is now read-only.
github actions: build index before tests #84
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: Push main | |
on: | |
push: | |
branches: [main] | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
lint: | |
name: Lint | |
uses: ./.github/workflows/lint.yml | |
with: | |
ref: ${{ github.ref }} | |
backoffice: | |
needs: lint | |
uses: ./.github/workflows/push-main-backoffice.yml | |
secrets: inherit | |
workflows: | |
needs: lint | |
uses: ./.github/workflows/push-main-workflows.yml | |
secrets: inherit | |
success: | |
name: All jobs passed | |
runs-on: ubuntu-latest | |
needs: [backoffice, workflows] | |
steps: | |
- name: All jobs passed | |
run: echo "All jobs passed" |