WIP #6
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: 'build' | ||
on: # rebuild any PRs and main branch changes | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
- benchmarking | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout (GitHub) | ||
uses: actions/checkout@v3 | ||
- name: Login to GitHub Container Registry | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: set lower case owner name | ||
run: | | ||
echo "OWNER_LC=${OWNER,,}" >>${GITHUB_ENV} | ||
env: | ||
OWNER: '${{ github.repository_owner }}' | ||
# See https://github.com/devcontainers/ci/blob/main/docs/github-action.md | ||
- name: Build and run dev container task | ||
uses: devcontainers/[email protected] | ||
with: | ||
imageName: ghcr.io/${{ OWNER_LC }}/r-compile-server | ||
Check failure on line 34 in .github/workflows/devcontainer.yml GitHub Actions / buildInvalid workflow file
|
||
# Change this to be your CI task/script | ||
runCmd: cd server; mvn --batch-mode --update-snapshots test |