From 36807988358119dc37b48f89f5d790635f638c32 Mon Sep 17 00:00:00 2001 From: "David Krause (enthus1ast)" Date: Mon, 10 Mar 2025 12:05:58 +0100 Subject: [PATCH] init --- action.yml | 52 +++++++++++++++++++++++++++------------------------- 1 file changed, 27 insertions(+), 25 deletions(-) diff --git a/action.yml b/action.yml index 9c6632b..200ccd9 100644 --- a/action.yml +++ b/action.yml @@ -17,29 +17,31 @@ jobs: nimUrl: "https://nim-lang.org/download/${{env.nimPath}}" steps: - ## Tries to use the cached version of the nim tar ball - - name: cache restore - id: cachestep1 - uses: https://code.forgejo.org/actions/cache/restore@v4 - with: - path: ${{env.nimPath}} - key: ${{env.nimPath}} + - run: echo "OK" - - name: cache hit - run: | - if [ ! ${{steps.cachestep1.outputs.cache-hit}} ]; then - echo "Download nim tarball" - wget ${{env.nimUrl}} - fi - - - name: cache save - uses: https://code.forgejo.org/actions/cache/save@v4 - with: - path: ${{env.nimPath}} - key: ${{steps.cachestep1.outputs.cache-key}} - - - run: tar xvf ${{env.nimPath}} - - run: ln -s `pwd`/nim-${{inputs.nimVersion}}/bin/* /usr/bin/ - - run: gcc --version - - run: nim --version - - run: nimble --version + # ## Tries to use the cached version of the nim tar ball + # - name: cache restore + # id: cachestep1 + # uses: https://code.forgejo.org/actions/cache/restore@v4 + # with: + # path: ${{env.nimPath}} + # key: ${{env.nimPath}} + # + # - name: cache hit + # run: | + # if [ ! ${{steps.cachestep1.outputs.cache-hit}} ]; then + # echo "Download nim tarball" + # wget ${{env.nimUrl}} + # fi + # + # - name: cache save + # uses: https://code.forgejo.org/actions/cache/save@v4 + # with: + # path: ${{env.nimPath}} + # key: ${{steps.cachestep1.outputs.cache-key}} + # + # - run: tar xvf ${{env.nimPath}} + # - run: ln -s `pwd`/nim-${{inputs.nimVersion}}/bin/* /usr/bin/ + # - run: gcc --version + # - run: nim --version + # - run: nimble --version