Skip to content

Use bash instead ofpython to grep the dotnet version number #1184

Use bash instead ofpython to grep the dotnet version number

Use bash instead ofpython to grep the dotnet version number #1184

Workflow file for this run

name: Docker Image CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false
# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- uses: actions/checkout@v1
- name: Install Java
uses: actions/setup-java@v3
with:
java-version: '11.0.15'
distribution: 'temurin'
- name: Build the extender-client.jar
run: (cd client && ../gradlew build)
- name: Test the extender-client.jar
run: (cd client && ../gradlew test)
- name: Build the Docker image
run: ./server/scripts/build.sh -xtest
env:
DM_PACKAGES_URL: ${{ secrets.S3_URL }}
- name: Test the Docker image
run: ./gradlew test -i
env:
DM_PACKAGES_URL: ${{ secrets.S3_URL }}
- name: Notify if tests failed
uses: homoluctus/slatify@master
if: failure()
with:
type: ${{ job.status }}
job_name: 'Extender tests'
channel: '#defold-alarms-build'
url: ${{ secrets.SLACK_WEBHOOK }}