Skip to content

Commit

Permalink
Replace drone with Github Workflow on release
Browse files Browse the repository at this point in the history
  • Loading branch information
Arvind Iyengar committed May 23, 2021
1 parent 2760d56 commit c824afc
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 221 deletions.
221 changes: 0 additions & 221 deletions .drone.yml

This file was deleted.

43 changes: 43 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
on:
release:
types: [created]

jobs:
build-assets:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build binaries
env:
CROSS: true
run: make build
- name: Get release
id: get_release
uses: bruceadams/get-release@v1.2.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: bin/charts-build-scripts
asset_name: charts-build-scripts
asset_content_type: application/octet-stream
- uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: bin/charts-build-scripts-darwin
asset_name: charts-build-scripts-darwin
asset_content_type: application/octet-stream
- uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: bin/charts-build-scripts-windows
asset_name: charts-build-scripts-windows
asset_content_type: application/octet-stream

0 comments on commit c824afc

Please sign in to comment.