diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2023-07-22 13:23:15 +0100 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2023-07-22 17:16:46 +0100 |
commit | 25d65d6ec0532742d2d4121e4ddfda6295a4da78 (patch) | |
tree | d356712fe6d3ca7ad6dc930cc76f6a3a4987aff7 | |
parent | 2133d91175543b778999e953cd1a158003855f07 (diff) | |
download | newlib-25d65d6ec0532742d2d4121e4ddfda6295a4da78.zip newlib-25d65d6ec0532742d2d4121e4ddfda6295a4da78.tar.gz newlib-25d65d6ec0532742d2d4121e4ddfda6295a4da78.tar.bz2 |
Cygwin: CI: Upgrade checkout actions to avoid deprecation warning
Also: workaround a problem with actions/checkout's post-run step using
Cygwin git but being incompatible with it. (This would be better solved
by cygwin-install-action having a post-run step to unwind it's PATH
changes, but that's not currently possible)
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
-rw-r--r-- | .github/workflows/cygwin.yml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml index 145b59e..1034495 100644 --- a/.github/workflows/cygwin.yml +++ b/.github/workflows/cygwin.yml @@ -15,7 +15,7 @@ jobs: name: Fedora cross ${{ matrix.target }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 # install build tools - run: dnf install -y autoconf automake make patch perl @@ -61,7 +61,7 @@ jobs: # endings, but this could still be dangerous e.g if we need symlinks in the # repo) - run: git config --global core.autocrlf input - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 # install cygwin and build tools - name: Install Cygwin @@ -131,3 +131,7 @@ jobs: build/${{ matrix.target }}/winsup/testsuite/**/*.log build/${{ matrix.target }}/winsup/testsuite/**/*.trs if: ${{ !cancelled() }} + + # workaround problems with actions/checkout post-run step using cygwin git + - name: Avoid actions/checkout post-run step using Cygwin git + run: bash -c 'rm /usr/bin/git.exe' |