Skip to content

Commit

Permalink
Add bootstrap builder workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alufers committed Mar 7, 2021
1 parent f5e30a5 commit 5cb952e
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build-bootstrap.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# workflow name
name: Build bootstraps

# on events
on: [release]

# workflow tasks
jobs:
generate:
name: Generate cross-platform bootstrap builds
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)
- name: Build bootstraps
run: |
cd bootstrap-builder && ./build_bootstrap.sh
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: bootstrap-builder/*.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5cb952e

Please sign in to comment.