@@ -340,30 +340,25 @@ runs:
340340 # # Nim installation
341341 # #====================================
342342
343- - uses : jiro4989/setup-nim-action@v2
344- if : inputs.do == 'compile' && (env.os == 'linux' || env.os == 'web' || env.os == 'macos')
345- with :
346- repo-token : ${{ inputs.token }}
347-
348- # - name: Install Nim (Linux/Web)
349- # if: inputs.do == 'compile' && (env.os == 'linux' || env.os == 'web')
350- # run: |
351- # /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
352- # echo >> /home/runner/.bashrc
353- # echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> /home/runner/.bashrc
354- # eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
355-
356- # brew install nim
357-
358- # echo "/home/linuxbrew/.linuxbrew/bin" >> $GITHUB_PATH
359- # shell: bash
360-
361- # - name: Install Nim (macOS)
362- # if: inputs.do == 'compile' && env.os == 'macos'
363- # run: |
364- # brew update
365- # brew install nim
366- # shell: bash
343+ - name : Install Nim (Linux/Web)
344+ if : inputs.do == 'compile' && (env.os == 'linux' || env.os == 'web')
345+ run : |
346+ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
347+ echo >> /home/runner/.bashrc
348+ echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> /home/runner/.bashrc
349+ eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
350+
351+ brew install nim
352+
353+ echo "/home/linuxbrew/.linuxbrew/bin" >> $GITHUB_PATH
354+ shell : bash
355+
356+ - name : Install Nim (macOS)
357+ if : inputs.do == 'compile' && env.os == 'macos'
358+ run : |
359+ brew update
360+ brew install nim
361+ shell : bash
367362
368363 - name : Install Nim (Windows)
369364 if : inputs.do == 'compile' && env.os == 'windows'
0 commit comments