diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 6b1f500..bf1a487 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -10,7 +10,33 @@ env: VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite" jobs: + test_push_to_gitlab: + strategy: + fail-fast: true + + runs-on: windows-latest + + steps: + - name: Setup ssh-agent + uses: webfactory/ssh-agent@v0.9.0 + with: + ssh-private-key: ${{ secrets.GITLAB_ELSID_OPENMW_DEPS_SSH_PRIVATE_KEY }} + + - name: Push test file to gitlab + shell: bash + run: | + env GIT_LFS_SKIP_SMUDGE=1 git clone -v git@gitlab.com:elsid/openmw-deps.git + cd openmw-deps + echo ${{ github.sha }} > test.txt + git checkout -b test-${{ github.sha }} + git lfs track test.txt + git add test.txt + git commit -m 'Add test.txt at ${{ github.sha }}' + git push origin test-${{ github.sha }} + static: + if: false + strategy: fail-fast: true @@ -83,6 +109,8 @@ jobs: # git push origin openmw-deps-vcpkg-x64-windows-static-${{ github.sha }} dynamic: + if: false + strategy: fail-fast: true