From ffeefcbcd8f232b619118561f5c24bf5df10443b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yanis=20Zafir=C3=B3pulos?= <1265028+drkameleon@users.noreply.github.com> Date: Wed, 3 Jul 2024 18:22:30 +0200 Subject: [PATCH 1/6] trigger rebuild --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index f8f3c58..8f32a2d 100644 --- a/action.yml +++ b/action.yml @@ -194,4 +194,4 @@ runs: ./build.nims --install --mode full --arch ${{ inputs.arch }} --log echo "$HOME/.arturo/bin" >> $GITHUB_PATH cd .. - shell: bash \ No newline at end of file + shell: bash From 76c81f4e965d5e59ffdeaf57e40b5c733960f1fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yanis=20Zafir=C3=B3pulos?= <1265028+drkameleon@users.noreply.github.com> Date: Wed, 3 Jul 2024 18:39:40 +0200 Subject: [PATCH 2/6] changed 2.0.4 to 2.0.8 --- action.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/action.yml b/action.yml index 8f32a2d..e9790d0 100644 --- a/action.yml +++ b/action.yml @@ -78,7 +78,7 @@ runs: if: runner.os == 'Linux' uses: jiro4989/setup-nim-action@v1 with: - nim-version: '2.0.4' + nim-version: '2.0.8' repo-token: ${{ inputs.token }} - name: Install Nim (macOS) @@ -93,11 +93,11 @@ runs: mkdir dist mkdir nim curl -L https://nim-lang.org/download/dlls.zip -o dist/dlls.zip - curl -L https://nim-lang.org/download/nim-2.0.4_x64.zip -o dist/nim.zip + curl -L https://nim-lang.org/download/nim-2.0.8_x64.zip -o dist/nim.zip 7z x dist/dlls.zip -obin 7z x dist/nim.zip -onim - export PATH="${{ github.workspace }}/nim/nim-2.0.4/bin":$PATH + export PATH="${{ github.workspace }}/nim/nim-2.0.8/bin":$PATH cd arturo ./build.nims build --mode ${{ inputs.mode }} --log @@ -114,13 +114,13 @@ runs: mkdir nim curl -L https://nim-lang.org/download/dlls.zip -o dist/dlls.zip curl -L https://arturo-lang.s3.amazonaws.com/extra-dlls.zip -o dist/extradlls.zip - curl -L https://nim-lang.org/download/nim-2.0.4_x64.zip -o dist/nim.zip + curl -L https://nim-lang.org/download/nim-2.0.8_x64.zip -o dist/nim.zip 7z x dist/dlls.zip -obin 7z x dist/extradlls.zip -obin 7z x dist/nim.zip -onim cp arturo/src/extras/webview/deps/dlls/x64/*.dll bin - export PATH="${{ github.workspace }}/nim/nim-2.0.4/bin":$PATH + export PATH="${{ github.workspace }}/nim/nim-2.0.8/bin":$PATH cd arturo ./build.nims build --mode ${{ inputs.mode }} --log From 7d7daf45fc2892e1c6af044e129247f76d2b90f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yanis=20Zafir=C3=B3pulos?= <1265028+drkameleon@users.noreply.github.com> Date: Thu, 4 Jul 2024 17:28:45 +0200 Subject: [PATCH 3/6] let's see if tests succeed by setting `src` default value to `master` --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index e9790d0..b9f2bc2 100644 --- a/action.yml +++ b/action.yml @@ -21,7 +21,7 @@ inputs: src: description: >- Which Arturo version to use. - default: '' + default: 'master' metadata: description: >- Embeddable build metadata From 3b5be56f5128d4a983c8cc38d8ec865771a6173a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yanis=20Zafir=C3=B3pulos?= <1265028+drkameleon@users.noreply.github.com> Date: Thu, 4 Jul 2024 17:35:05 +0200 Subject: [PATCH 4/6] revert changes --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index b9f2bc2..e9790d0 100644 --- a/action.yml +++ b/action.yml @@ -21,7 +21,7 @@ inputs: src: description: >- Which Arturo version to use. - default: 'master' + default: '' metadata: description: >- Embeddable build metadata From 1348b3d076248ec9a5695055a5a420d2d686a307 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yanis=20Zafir=C3=B3pulos?= <1265028+drkameleon@users.noreply.github.com> Date: Thu, 4 Jul 2024 17:40:03 +0200 Subject: [PATCH 5/6] try setting repository explicitly --- action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/action.yml b/action.yml index e9790d0..bdd4b1c 100644 --- a/action.yml +++ b/action.yml @@ -32,6 +32,7 @@ runs: - name: Checkout Arturo repo uses: actions/checkout@v4 with: + repository: arturo-lang/arturo submodules: recursive path: arturo ref: ${{ inputs.src }} From 58c60058ea34eae8aced7f6b8e540e11db551c6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yanis=20Zafir=C3=B3pulos?= <1265028+drkameleon@users.noreply.github.com> Date: Thu, 4 Jul 2024 18:01:43 +0200 Subject: [PATCH 6/6] try `brew update` before `brew install nim` on macOS to try fetching the right/latest Nim version --- action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/action.yml b/action.yml index bdd4b1c..e3e150e 100644 --- a/action.yml +++ b/action.yml @@ -85,6 +85,7 @@ runs: - name: Install Nim (macOS) if: runner.os == 'macOS' run: | + brew update brew install nim shell: bash