LeoColman
12/23/2023, 1:24 PMPiotr Krzemiński
12/23/2023, 5:35 PMPiotr Krzemiński
12/23/2023, 5:39 PMPiotr Krzemiński
12/23/2023, 5:39 PMPiotr Krzemiński
12/23/2023, 5:39 PMPiotr Krzemiński
12/23/2023, 5:45 PM.github/workflows/generate-action-bindings.main.kts
.github/workflows/build.main.kts
I see this diff:
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 9fda077..a363e98 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -15,9 +15,12 @@ jobs:
name: 'Check out'
uses: 'actions/checkout@v4'
- id: 'step-1'
+ name: 'Generate action bindings'
+ run: '.github/workflows/generate-action-bindings.main.kts "build.yaml"'
+ - id: 'step-2'
name: 'Execute script'
run: 'rm ''.github/workflows/build.yaml'' && ''.github/workflows/build.main.kts'''
- - id: 'step-2'
+ - id: 'step-3'
name: 'Consistency check'
run: 'git diff --exit-code ''.github/workflows/build.yaml'''
build:
which means that the script wants to add the missing step back, which means that the issue doesn't reproduce on my machine. I'm pretty sure it's because of the caching issuePiotr Krzemiński
12/23/2023, 5:46 PMPiotr Krzemiński
12/23/2023, 6:09 PMLeoColman
12/24/2023, 12:29 AMLeoColman
12/24/2023, 12:31 AMLeoColman
12/24/2023, 12:31 AMPiotr Krzemiński
12/24/2023, 7:38 AMPiotr Krzemiński
12/24/2023, 8:48 AMPiotr Krzemiński
12/24/2023, 11:33 AMLeoColman
12/24/2023, 12:41 PMrm -rf ~/.cache/main.kts.compiled.cache/
Opening a new terminal and running the scripts inside .workflows
again. I also tried some invalidate caches and restart
, deleting build
, deleting .workflows/generated
and deleting .gradle
None of these made any difference to how scripts were being executed.LeoColman
12/24/2023, 12:41 PM./generate-action-bindings.main.kts
does its thing:
... from <https://raw.githubusercontent.com/actions/checkout/v4/action.yml>
... types from <https://raw.githubusercontent.com/actions/checkout/v4//action-types.yml>
... types from <https://raw.githubusercontent.com/actions/checkout/v4//action-types.yaml>
.................
LeoColman
12/24/2023, 12:42 PMbuild.gradle.kts
does nothing to the YAML. If I delete build.yaml
it generated the old (stale/bad/incomplete) file. Is there a debug mode I can enable to get more logs of what's going on?LeoColman
12/24/2023, 12:45 PMLinux leonardo-pc 6.5.1-060501-generic #202309020842 SMP PREEMPT_DYNAMIC Sat Sep 2 08:48:34 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
lsb_release -a:
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
Piotr Krzemiński
12/24/2023, 12:57 PMLeoColman
12/24/2023, 1:58 PM