瀏覽代碼

fix shell for windows

Matthew R. Kasun 3 年之前
父節點
當前提交
e2dc09c69c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .github/workflows/buildandrelease.yml

+ 1 - 1
.github/workflows/buildandrelease.yml

@@ -426,7 +426,6 @@ jobs:
   netclient-windows:
   netclient-windows:
     runs-on: windows-latest
     runs-on: windows-latest
     needs: version
     needs: version
-    shell: bash
     steps:
     steps:
       - name: Checkout
       - name: Checkout
         uses: actions/checkout@v2
         uses: actions/checkout@v2
@@ -436,6 +435,7 @@ jobs:
           VERSION=${{needs.version.outputs.version}}
           VERSION=${{needs.version.outputs.version}}
           echo "NETMAKER_VERSION=${TAG}"  >> $GITHUB_ENV
           echo "NETMAKER_VERSION=${TAG}"  >> $GITHUB_ENV
           echo "PACKAGE_VERSION=${VERSION}" >> $GITHUB_ENV
           echo "PACKAGE_VERSION=${VERSION}" >> $GITHUB_ENV
+        shell: bash
       - name: Setup go
       - name: Setup go
         uses: actions/setup-go@v2
         uses: actions/setup-go@v2
         with:
         with: