Skip to content

Commit

Permalink
Add binaries to release
Browse files Browse the repository at this point in the history
  • Loading branch information
martinhaus committed Jul 22, 2021
1 parent 988dde2 commit 46520bc
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions .github/workflows/go-build.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
name: Generate release-artifacts

on: [pull_request]

# on:
# release:
# types:
# - created

on:
release:
types:
- created
jobs:
generate:
name: Generate cross-platform builds
Expand All @@ -22,9 +18,9 @@ jobs:
name: 'cloudflare-exporter'
compress: 'false'
dest: 'dist'
# - name: Copy build-artifacts
# uses: skx/github-action-publish-binaries@master
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# args: "./dist/*"
- name: Copy build-artifacts
uses: skx/github-action-publish-binaries@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: "./dist/*"

0 comments on commit 46520bc

Please sign in to comment.