diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 94279aa6593687..2c98435afde602 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -271,7 +271,7 @@ jobs: if: failure() - name: Upload failed tests' directories if: failure() && env.FAILED_TEST_ARTIFACTS != '' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v1 with: name: failed-tests-${{matrix.vector.jobname}} path: ${{env.FAILED_TEST_ARTIFACTS}} diff --git a/compat/mingw.h b/compat/mingw.h index 5f88120832d069..25bdada0d57b8a 100644 --- a/compat/mingw.h +++ b/compat/mingw.h @@ -472,6 +472,7 @@ extern int (*win32_is_mount_point)(struct strbuf *path); #define PATH_SEP ';' char *mingw_query_user_email(void); #define query_user_email mingw_query_user_email +struct strbuf; char *mingw_strbuf_realpath(struct strbuf *resolved, const char *path); #define platform_strbuf_realpath mingw_strbuf_realpath #if !defined(__MINGW64_VERSION_MAJOR) && (!defined(_MSC_VER) || _MSC_VER < 1800)