backend/test-ci-labeled #44
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: | ||
# Triggers the workflow on push or pull request events but only for the "main" branch | ||
push: | ||
branches: ["main"] | ||
pull_request: | ||
branches: ["main"] | ||
<<<<<<< Updated upstream | ||
# Allows you to run this workflow manually from the Actions tab | ||
======= | ||
types: [labeled] | ||
>>>>>>> Stashed changes | ||
workflow_dispatch: | ||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
build: | ||
runs-on: x86_64-linux | ||
<<<<<<< Updated upstream | ||
======= | ||
if: ${{ github.event.label.name == 'backend' }} | ||
outputs: | ||
image_name: ${{ steps.image_info.outputs.image_name }} | ||
>>>>>>> Stashed changes | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: cachix/cachix-action@v15 | ||
with: | ||
name: nammayatri | ||
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | ||
skipPush: true | ||
- name: Build all flake outputs | ||
run: om ci |