Add build step #24
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: 'Full Dagger Pipeline' | |
on: | |
push: | |
branches: | |
- dagger-ci | |
jobs: | |
pipeline: | |
runs-on: 'ubuntu-latest' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: 'pipeline' | |
uses: dagger/[email protected] | |
with: | |
# Dagger Version | |
version: 0.14.0 | |
# Dagger CLI Flags | |
#dagger-flags: # optional, default is --progress plain | |
# CLI verb (call, run, download, up, functions, shell, query) | |
verb: call | |
# The working directory in which to run the Dagger CLI | |
workdir: . | |
# Dagger Cloud Token | |
cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }} | |
# Dagger module to call. Local or Git | |
module: . | |
# Arguments to pass to CLI | |
args: ci-integration --pass=true --dir=./ export --path=./reports/ | |
- name: Unittest Report | |
uses: dorny/[email protected] | |
with: | |
name: unit-tests | |
path: reports/unit-tests/*.xml | |
reporter: java-junit | |
fail-on-empty: 'false' | |
fail-on-error: 'true' | |
- name: archive pipeline artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: pipeline-artifacts | |
path: reports |