From 2c691ed50ad6bf33c51415d177706372043d7805 Mon Sep 17 00:00:00 2001 From: David Haukeness Date: Mon, 25 Jan 2021 18:24:58 -0700 Subject: [PATCH] remove github cruft --- .github/workflows/build_go.yml | 78 ---------------------------------- 1 file changed, 78 deletions(-) delete mode 100644 .github/workflows/build_go.yml diff --git a/.github/workflows/build_go.yml b/.github/workflows/build_go.yml deleted file mode 100644 index 5f9a3a3..0000000 --- a/.github/workflows/build_go.yml +++ /dev/null @@ -1,78 +0,0 @@ -name: Build - -on: - push: - branches: [ master ] - tags: - - v0.* - - v1 - - v1.* - paths-ignore: - - 'README.md' - - '.github/**' - - '.gitignore' - -jobs: - - build: - strategy: - matrix: - platform: [ubuntu-latest, macos-latest, windows-latest] - name: Build - runs-on: ${{ matrix.platform }} - steps: - - - name: Set up Go 1.13 - uses: actions/setup-go@v1 - with: - go-version: 1.13 - id: go - - - name: Check out code into the Go module directory - uses: actions/checkout@v2 - - - name: Get Short SHA8 - id: vars - run: | - echo "::set-output name=sha_short::$(git rev-parse --short=8 ${{ github.sha }})" - - - name: Get dependencies - run: go get -v -t -d ./... - - - name: Build - run: go build -v . - - - name: Upload Artifacts - if: matrix.platform == 'macos-latest' - uses: actions/upload-artifact@v1.0.0 - id: macos_build - with: - name: jitsi-bot-${{ matrix.platform }}-${{ steps.vars.outputs.sha_short }} - path: jitsi-bot - - - name: Upload Artifacts - if: matrix.platform == 'windows-latest' - uses: actions/upload-artifact@v1.0.0 - id: windows_build - with: - SHA8: - name: jitsi-bot-${{ matrix.platform }}-${{ steps.vars.outputs.sha_short }} - path: jitsi-bot.exe - - - name: Upload Artifacts - if: matrix.platform == 'ubuntu-latest' - id: ubuntu_build - uses: actions/upload-artifact@v1.0.0 - with: - name: jitsi-bot-${{ matrix.platform }}-${{ steps.vars.outputs.sha_short }} - path: jitsi-bot - - - name: Publish Docker Image - if: success() && matrix.platform == 'ubuntu-latest' - id: upload_docker - uses: elgohr/Publish-Docker-Github-Action@master - with: - name: haukeness/keybase-jitsi-bot - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - tag_semver: true