From 07a03ce3aca1f56793c6f05718449c878c673ac1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferdinand=20M=C3=BCtsch?= Date: Sun, 31 May 2020 10:28:55 +0200 Subject: [PATCH] debug: remove workflows --- .github/workflows/linux-build-on-release.yml | 43 ------------------- .github/workflows/win-build-on-release.yml | 44 -------------------- 2 files changed, 87 deletions(-) delete mode 100644 .github/workflows/linux-build-on-release.yml delete mode 100644 .github/workflows/win-build-on-release.yml diff --git a/.github/workflows/linux-build-on-release.yml b/.github/workflows/linux-build-on-release.yml deleted file mode 100644 index 6d7fb14..0000000 --- a/.github/workflows/linux-build-on-release.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: Build Wakapi on Linux - -on: - release: - types: - - created - -jobs: - build-and-release: - name: Build and add to Release - runs-on: ubuntu-latest - steps: - - - name: Set up Go 1.x - uses: actions/setup-go@v2 - with: - go-version: ^1.13 - id: go - - - name: Check out code into the Go module directory - uses: actions/checkout@v2 - - - name: Get dependencies - run: | - go get -v -t -d ./... - - - name: Build - run: GO111MODULE=on go build -v . - - - name: Zip Release - uses: TheDoctor0/zip-release@v0.3.0 - with: - filename: release.zip - - - name: Upload built executable to Release - uses: actions/upload-release-asset@v1.0.2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ github.event.release.upload_url }} - asset_path: release.zip - asset_name: wakapi_linux_amd64.zip - asset_content_type: application/gzip diff --git a/.github/workflows/win-build-on-release.yml b/.github/workflows/win-build-on-release.yml deleted file mode 100644 index 4c036d8..0000000 --- a/.github/workflows/win-build-on-release.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: Build Wakapi on Windows - -on: - release: - types: - - created - -jobs: - build-and-release: - name: Build and add to release - runs-on: windows-latest - steps: - - - name: Set up Go 1.x - uses: actions/setup-go@v2 - with: - go-version: ^1.13 - id: go - - - name: Check out code into the Go module directory - uses: actions/checkout@v2 - - - name: Get dependencies - run: | - go get -v -t -d ./... - - - name: Enable Go 1.11 modules - run: cmd /c "set GO111MODULE=on" - - - name: Build - run: go build -v . - - - name: Compress working folder - run: Compress-Archive -Path .\* -DestinationPath release.zip - - - name: Upload built executable to Release - uses: actions/upload-release-asset@v1.0.2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ github.event.release.upload_url }} - asset_path: release.zip - asset_name: wakapi_win_amd64.zip - asset_content_type: application/gzip