🐙 Templated web page generator for your git repositories
git clone https://github.com/m-col/gitja
Files | Refs | Readme | License

Commit 06c5d6d4860ff86bb8717d367eecae4fad730cb1
Parent: 627500925af5e7a7ef1404a396baec9f1bf8ddf1
Author: mcol <mcol@posteo.net>
Date: 2021-11-25 21:09:05 +0000
Committer: mcol <mcol@posteo.net>
Committed: 2021-11-25 21:09:05 +0000

add working around for stack action issue

.github/workflows/haskell.yml Modified

@@ -13,14 +13,19 @@
 
     steps:
     - uses: actions/checkout@v1
+
+      # See https://github.com/mstksg/setup-stack/issues/13
+    - name: 'GitHub actions env workaround'
+      run: 'echo "ACTIONS_ALLOW_UNSECURE_COMMANDS=true" >> $GITHUB_ENV'
     - uses: mstksg/setup-stack@v2
+
     - uses: actions/cache@v1
       env:
         cache-name: cache-stack-modules
       with:
         path: /home/runner/.stack/
         key: ${{ hashFiles('**/stack.yaml.lock') }}
-      
+
     - name: Build
       run: |
         stack build