Use epsilonEquals for goal check #128
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: VTS Build | |
on: | |
push: | |
paths: | |
- 'trajectory_native/**' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
permissions: | |
packages: write | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- uses: earthly/actions/setup-earthly@v1 | |
with: | |
version: v0.8.4 | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Log in to container registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build | |
if: github.event_name != 'push' || github.ref != 'refs/heads/main' | |
run: earthly --ci --use-inline-cache ./trajectory_native+vts-all-platforms | |
- name: Build and push | |
if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
run: earthly --ci --use-inline-cache --save-inline-cache --push ./trajectory_native+vts-all-platforms |