From 286a9fbea2630c0ca6c5d1acb52f7c96b6ad6ccd Mon Sep 17 00:00:00 2001 From: HebaruSan Date: Tue, 17 Jan 2023 22:47:32 +0000 Subject: [PATCH 1/7] Update actions/checkout action to v3 --- .github/workflows/inflate.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/inflate.yml b/.github/workflows/inflate.yml index 49d59cb7c2..e7bd6661f8 100644 --- a/.github/workflows/inflate.yml +++ b/.github/workflows/inflate.yml @@ -13,12 +13,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Get NetKAN repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 - name: Get CKAN-meta repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: repository: KSP-CKAN/CKAN-meta path: .CKAN-meta From a9e47044ae5faf2746fe7ce62efa1ca9dc00ad71 Mon Sep 17 00:00:00 2001 From: HebaruSan Date: Tue, 17 Jan 2023 23:21:41 +0000 Subject: [PATCH 2/7] Explicitly set git safe.directory --- .github/workflows/inflate.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/inflate.yml b/.github/workflows/inflate.yml index e7bd6661f8..8dd90ff95b 100644 --- a/.github/workflows/inflate.yml +++ b/.github/workflows/inflate.yml @@ -22,6 +22,8 @@ jobs: with: repository: KSP-CKAN/CKAN-meta path: .CKAN-meta + - name: Set all directories as git safe + run: git config --global --add safe.directory '*' - name: Cache downloads if: ${{ github.event_name == 'pull_request' }} uses: actions/cache@v2 From b74473bae858f23592a92c6403b46a463007de30 Mon Sep 17 00:00:00 2001 From: HebaruSan Date: Wed, 18 Jan 2023 16:57:31 +0000 Subject: [PATCH 3/7] Run git rev-parse HEAD for testing --- .github/workflows/inflate.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/inflate.yml b/.github/workflows/inflate.yml index 8dd90ff95b..d5b40aa06d 100644 --- a/.github/workflows/inflate.yml +++ b/.github/workflows/inflate.yml @@ -22,8 +22,8 @@ jobs: with: repository: KSP-CKAN/CKAN-meta path: .CKAN-meta - - name: Set all directories as git safe - run: git config --global --add safe.directory '*' + - name: Try to figure out why git is failing + run: git rev-parse HEAD - name: Cache downloads if: ${{ github.event_name == 'pull_request' }} uses: actions/cache@v2 From a860fd955e17fd214b88b6ea60bd497aeb8af4e5 Mon Sep 17 00:00:00 2001 From: HebaruSan Date: Wed, 18 Jan 2023 17:03:06 +0000 Subject: [PATCH 4/7] Get git version --- .github/workflows/inflate.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/inflate.yml b/.github/workflows/inflate.yml index d5b40aa06d..72bab4fe33 100644 --- a/.github/workflows/inflate.yml +++ b/.github/workflows/inflate.yml @@ -22,8 +22,8 @@ jobs: with: repository: KSP-CKAN/CKAN-meta path: .CKAN-meta - - name: Try to figure out why git is failing - run: git rev-parse HEAD + - name: Find out what version of git is here + run: git --version - name: Cache downloads if: ${{ github.event_name == 'pull_request' }} uses: actions/cache@v2 From 600ad6c2d53ea9369158c9748ca9b68537f731a4 Mon Sep 17 00:00:00 2001 From: HebaruSan Date: Wed, 18 Jan 2023 20:16:14 +0000 Subject: [PATCH 5/7] Remove change to trigger clean rebuild --- .github/workflows/inflate.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/inflate.yml b/.github/workflows/inflate.yml index 72bab4fe33..e7bd6661f8 100644 --- a/.github/workflows/inflate.yml +++ b/.github/workflows/inflate.yml @@ -22,8 +22,6 @@ jobs: with: repository: KSP-CKAN/CKAN-meta path: .CKAN-meta - - name: Find out what version of git is here - run: git --version - name: Cache downloads if: ${{ github.event_name == 'pull_request' }} uses: actions/cache@v2 From 47cb4aae09699e263f39e6ad68b751dccbf7a4d7 Mon Sep 17 00:00:00 2001 From: HebaruSan Date: Thu, 19 Jan 2023 04:36:35 +0000 Subject: [PATCH 6/7] Turn on debugging output --- .github/workflows/inflate.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/inflate.yml b/.github/workflows/inflate.yml index e7bd6661f8..9a7b3316d1 100644 --- a/.github/workflows/inflate.yml +++ b/.github/workflows/inflate.yml @@ -40,6 +40,7 @@ jobs: source: commits diff meta root: .CKAN-meta pull request url: ${{ github.event.pull_request.url }} + log level: debug - name: Chmod cached files so actions/cache and actions/upload-artifact can read them run: sudo chmod -R a+r .cache if: ${{ always() }} From 8e281e5a0b8ac694473235e68d24b3e63bbe1e9e Mon Sep 17 00:00:00 2001 From: Leon Wright Date: Wed, 8 Feb 2023 15:42:08 +0800 Subject: [PATCH 7/7] ci: Test Debug Workflow --- .github/workflows/inflate.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/inflate.yml b/.github/workflows/inflate.yml index 9a7b3316d1..0c0183faa0 100644 --- a/.github/workflows/inflate.yml +++ b/.github/workflows/inflate.yml @@ -31,7 +31,7 @@ jobs: restore-keys: | downloads- - name: Test modified netkans - uses: KSP-CKAN/xKAN-meta_testing@master + uses: techman83/xKAN-meta_testing@feat/debugging env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} PR_BASE_SHA: ${{ github.event.pull_request.base.sha }} @@ -40,7 +40,6 @@ jobs: source: commits diff meta root: .CKAN-meta pull request url: ${{ github.event.pull_request.url }} - log level: debug - name: Chmod cached files so actions/cache and actions/upload-artifact can read them run: sudo chmod -R a+r .cache if: ${{ always() }}