fixed upload artifact in vtune.yml #540
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: BuildTest | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
docker-build-test-ubuntu: | |
runs-on: ubuntu-latest | |
name: Aegis Build Test (in pre-built dependency environment) | |
env: | |
PRCOMMITSHA : ${{ github.event.pull_request.head.sha }} | |
steps: | |
# Check out repo to get Dockerfile | |
- name: Checkout | |
uses: actions/checkout@v2 | |
# Build container and run tests from limited_build Dockerfile | |
- name: PrintGithubContext | |
run: echo $PRCOMMITSHA | |
- name: DockerBuildTestPull | |
if: ${{ github.event.pull_request.head.sha != '' }} | |
run: | | |
docker build -t ci-dagmc-ubuntu \ | |
--build-arg build_git_sha="${PRCOMMITSHA:-$GITHUB_SHA}" \ | |
--build-arg build_git_repo="${PRREPOSITORY:-$GITHUB_REPOSITORY}" \ | |
docker/limited_build/ | |
- name: DockerBuildTestPush | |
if: ${{ github.event.pull_request.head.sha == '' }} | |
run: | | |
docker build -t ci-dagmc-ubuntu \ | |
--build-arg build_git_sha="${PRCOMMITSHA:-$GITHUB_SHA}" \ | |
--build-arg build_git_repo="${PRREPOSITORY:-$GITHUB_REPOSITORY}" \ | |
docker/limited_build/ |