diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..2120dfa --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,31 @@ +name: CMake on a single platform + +on: [push] + +#on: +# push: +# branches: ["master"] +# pull_request: +# branches: ["master"] + +permissions: + contents: write + +env: + # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) + BUILD_TYPE: Release + +jobs: + build: + runs-on: windows-latest + + steps: + - uses: actions/checkout@v3 + - name: Set github url and credentials + run: | + git config --global --add url."https://${{ secrets.REPO_ACCESS_TOKEN }}@github".insteadOf "ssh://git@github" + git config --global --add url."https://${{ secrets.REPO_ACCESS_TOKEN }}@github".insteadOf "https://github" + git config --global --add url."https://${{ secrets.REPO_ACCESS_TOKEN }}@github".insteadOf "git@github" + + - name: test + run: git clone --recursive --depth 1 https://github.com/praydog/UEVR.git