Skip to content

Commit

Permalink
Test push to gitlab
Browse files Browse the repository at this point in the history
  • Loading branch information
elsid committed Mar 28, 2024
1 parent 1fea02d commit c2e3b3d
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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 [email protected]: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

Expand Down Expand Up @@ -83,6 +109,8 @@ jobs:
# git push origin openmw-deps-vcpkg-x64-windows-static-${{ github.sha }}

dynamic:
if: false

strategy:
fail-fast: true

Expand Down

0 comments on commit c2e3b3d

Please sign in to comment.