From 047a16973f7d5d46e82c2e02b807f51f8b261788 Mon Sep 17 00:00:00 2001 From: bitromortac Date: Sun, 20 Nov 2022 11:18:02 +0100 Subject: [PATCH] github: add action --- .github/workflows/test.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..0954f9d --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,22 @@ +name: Test +on: + push: + branches: + - master + pull_request: + branches: + - master + workflow_dispatch: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Setup env + run: | + echo "PROJECT_ROOT=${GITHUB_WORKSPACE}" >> $GITHUB_ENV + echo "PROJECT_NAME=combine" >> $GITHUB_ENV + echo "${GITHUB_WORKSPACE}/bin" >> $GITHUB_PATH