From 1d348b11ffdca305f386d6dae2e5d5a863b30a1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?turboBasic=20=E2=9A=A1=EF=B8=8F=F0=9F=92=80?= Date: Tue, 26 Dec 2023 12:53:48 +0100 Subject: [PATCH] build: Create Github Workflow "Verify" Skip cleaning workdir to allow reusing of Gradle cache Resolves #7, #10 --- .github/workflows/verify.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/verify.yaml diff --git a/.github/workflows/verify.yaml b/.github/workflows/verify.yaml new file mode 100644 index 0000000..20d0429 --- /dev/null +++ b/.github/workflows/verify.yaml @@ -0,0 +1,21 @@ +name: Verify +run-name: ${{ github.actor }} is testing out GitHub Actions 🚀 +on: [push] +jobs: + Unit-Test-Groovy: + runs-on: self-hosted + steps: + - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." + - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" + - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." + - name: Check out repository code + uses: actions/checkout@v4 + with: + clean: false + - run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." + - run: echo "🖥️ The workflow is now ready to test your code on the runner." + - name: List files in the repository + run: | + ls ${{ github.workspace }} + - run: ${{ github.workspace }}/runDevEnvironment.sh + - run: echo "🍏 This job's status is ${{ job.status }}."