Browse Source

test gui builds

Matthew R. Kasun 3 years ago
parent
commit
dc4ed91a0b
1 changed files with 32 additions and 32 deletions
  1. 32 32
      .github/workflows/buildandrelease.yml

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

@@ -38,38 +38,38 @@ jobs:
           fi
           echo "::set-output name=tag::${{ env.NETMAKER_VERSION }}"
           echo "::set-output name=version::${{ env.PACKAGE_VERSION }}"
-  netmaker:
-    runs-on: ubuntu-latest
-    needs: version
-    steps:
-      - name: set variables
-        run: |
-          echo ${{ needs.version.outputs.tag }} ${{ needs.version.outputs.version }}
-          TAG=${{needs.version.outputs.tag}}
-          VERSION=${{needs.version.outputs.version}}
-          if [[ -z ${VERSION} || -z ${TAG} ]]; then
-            exit 1
-          fi
-          echo "NETMAKER_VERSION=${TAG}"  >> $GITHUB_ENV
-          echo "PACKAGE_VERSION=${VERSION}" >> $GITHUB_ENV
-      - name: Checkout
-        uses: actions/checkout@v2
-      - name: Setup go
-        uses: actions/setup-go@v2
-        with:
-          go-version: 1.18
-      - name: Build
-        run: |
-          env CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -ldflags="-X 'main.version=${NETMAKER_VERSION}'" -o build/netmaker main.go
-      - name: Upload netmaker x86 to Release
-        uses: svenstaro/upload-release-action@v2
-        with:
-          repo_token: ${{ secrets.GITHUB_TOKEN }}
-          file: build/netmaker
-          tag: ${{ env.NETMAKER_VERSION }}
-          overwrite: true
-          prerelease: true
-          asset_name: netmaker
+#  netmaker:        
+#    runs-on: ubuntu-latest
+#    needs: version
+#    steps:
+#      - name: set variables
+#        run: |
+#          echo ${{ needs.version.outputs.tag }} ${{ needs.version.outputs.version }}
+#          TAG=${{needs.version.outputs.tag}}
+#          VERSION=${{needs.version.outputs.version}}
+#          if [[ -z ${VERSION} || -z ${TAG} ]]; then
+#            exit 1
+#          fi
+#          echo "NETMAKER_VERSION=${TAG}"  >> $GITHUB_ENV
+#          echo "PACKAGE_VERSION=${VERSION}" >> $GITHUB_ENV
+#      - name: Checkout
+#        uses: actions/checkout@v2
+#      - name: Setup go
+#        uses: actions/setup-go@v2
+#        with:
+#          go-version: 1.18
+#      - name: Build
+#        run: |
+#          env CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -ldflags="-X 'main.version=${NETMAKER_VERSION}'" -o build/netmaker main.go
+#      - name: Upload netmaker x86 to Release
+#        uses: svenstaro/upload-release-action@v2
+#        with:
+#          repo_token: ${{ secrets.GITHUB_TOKEN }}
+#          file: build/netmaker
+#          tag: ${{ env.NETMAKER_VERSION }}
+#          overwrite: true
+#          prerelease: true
+#          asset_name: netmaker
 
 #  netclient-x86:
 #    runs-on: ubuntu-latest