From e35659c99ca32242bcb2912d4351a927813c8703 Mon Sep 17 00:00:00 2001 From: Stephan Date: Tue, 19 Oct 2021 15:39:43 +0200 Subject: [PATCH] test symlink --- .github/workflows/symlink-test.yml | 34 ++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/symlink-test.yml diff --git a/.github/workflows/symlink-test.yml b/.github/workflows/symlink-test.yml new file mode 100644 index 0000000..78f788d --- /dev/null +++ b/.github/workflows/symlink-test.yml @@ -0,0 +1,34 @@ +name: Symlink Test +on: + # trigger on push to any branch + push: + branches-ignore: + - 'release/*' + tags-ignore: + - '*' + +jobs: + + # try to create and push the symlink + symlink-test: + + name: Symlink Test + runs-on: windows-latest + + steps: + + # checkout the code + - name: Checkout code + uses: actions/checkout@v2 + with: + token: ${{ secrets.GITHUB_TOKEN }} + + # symlink + - name: Symlink + shell: bash + run: if ! [ -L bang ]; then ln -s duh bang; fi + + # push changes back + - name: Push + shell: bash + run: git push \ No newline at end of file