From 329d341fbf02813c28bbf183b08f87c1fe5c5207 Mon Sep 17 00:00:00 2001 From: danielgrunbergerarmo Date: Wed, 18 Aug 2021 11:58:23 +0300 Subject: [PATCH] delete build.yaml --- .github/workflows/build.yaml | 53 ------------------------------------ 1 file changed, 53 deletions(-) delete mode 100644 .github/workflows/build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml deleted file mode 100644 index 40e7dae4..00000000 --- a/.github/workflows/build.yaml +++ /dev/null @@ -1,53 +0,0 @@ -name: build - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - - name: Set up Go - uses: actions/setup-go@v2 - with: - go-version: 1.16 - - - name: Build - run: mkdir build && go mod tidy && go build -ldflags "-w -s" -o build/kubescape - - - name: Chmod - run: chmod +x build/kubescape - - - name: List - run: ls -la - - - name: Create Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: v0.0.${{ github.run_number }} - release_name: Release v0.0.${{ github.run_number }} - body: | - Changes in this Release - - First Change - - Second Change - draft: false - prerelease: false - - - name: Upload Release Asset - id: upload-release-asset - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps - asset_path: build/kubescape - asset_name: kubescape - asset_content_type: application/octet-stream