Merge pull request #4 from eugeneware/master #21
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
tags: | |
- "b*" | |
name: Release Binaries | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Download Binaries | |
run: sh ./build/index.sh | |
- name: Compress Binaries | |
run: | | |
set -e | |
set -o pipefail | |
cat bin/darwin-x64 | gzip --best >bin/darwin-x64.gz | |
cat bin/darwin-arm64 | gzip --best >bin/darwin-arm64.gz | |
cat bin/freebsd-x64 | gzip --best >bin/freebsd-x64.gz | |
cat bin/linux-arm | gzip --best >bin/linux-arm.gz | |
cat bin/linux-arm64 | gzip --best >bin/linux-arm64.gz | |
cat bin/linux-ia32 | gzip --best >bin/linux-ia32.gz | |
cat bin/linux-x64 | gzip --best >bin/linux-x64.gz | |
cat bin/win32-ia32 | gzip --best >bin/win32-ia32.gz | |
cat bin/win32-x64 | gzip --best >bin/win32-x64.gz | |
ls -l bin | |
shell: bash | |
- name: Create Release | |
id: create_release | |
uses: actions/create-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tag_name: ${{ github.ref }} | |
release_name: Release ${{ github.ref }} | |
- uses: actions/upload-release-asset@v1.0.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: bin/darwin-x64 | |
asset_name: darwin-x64 | |
asset_content_type: application/octet-stream | |
- uses: actions/upload-release-asset@v1.0.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: bin/darwin-x64.gz | |
asset_name: darwin-x64.gz | |
asset_content_type: application/octet-stream | |
- uses: actions/upload-release-asset@v1.0.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: bin/darwin-x64.README | |
asset_name: darwin-x64.README | |
asset_content_type: text/plain | |
- uses: actions/upload-release-asset@v1.0.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: bin/darwin-arm64 | |
asset_name: darwin-arm64 | |
asset_content_type: application/octet-stream | |
- uses: actions/upload-release-asset@v1.0.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: bin/darwin-arm64.gz | |
asset_name: darwin-arm64.gz | |
asset_content_type: application/octet-stream | |
- uses: actions/upload-release-asset@v1.0.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: bin/darwin-arm64.README | |
asset_name: darwin-arm64.README | |
asset_content_type: text/plain | |
- uses: actions/upload-release-asset@v1.0.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: bin/freebsd-x64 | |
asset_name: freebsd-x64 | |
asset_content_type: application/octet-stream | |
- uses: actions/upload-release-asset@v1.0.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: bin/freebsd-x64.gz | |
asset_name: freebsd-x64.gz | |
asset_content_type: application/octet-stream | |
- uses: actions/upload-release-asset@v1.0.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: bin/linux-arm | |
asset_name: linux-arm | |
asset_content_type: application/octet-stream | |
- uses: actions/upload-release-asset@v1.0.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: bin/linux-arm.gz | |
asset_name: linux-arm.gz | |
asset_content_type: application/octet-stream | |
- uses: actions/upload-release-asset@v1.0.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: bin/linux-arm.README | |
asset_name: linux-arm.README | |
asset_content_type: text/plain | |
- uses: actions/upload-release-asset@v1.0.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: bin/linux-arm.LICENSE | |
asset_name: linux-arm.LICENSE | |
asset_content_type: text/plain | |
- uses: actions/upload-release-asset@v1.0.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: bin/linux-arm64 | |
asset_name: linux-arm64 | |
asset_content_type: application/octet-stream | |
- uses: actions/upload-release-asset@v1.0.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: bin/linux-arm64.gz | |
asset_name: linux-arm64.gz | |
asset_content_type: application/octet-stream | |
- uses: actions/upload-release-asset@v1.0.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: bin/linux-arm64.README | |
asset_name: linux-arm64.README | |
asset_content_type: text/plain | |
- uses: actions/upload-release-asset@v1.0.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: bin/linux-arm64.LICENSE | |
asset_name: linux-arm64.LICENSE | |
asset_content_type: text/plain | |
- uses: actions/upload-release-asset@v1.0.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: bin/linux-ia32 | |
asset_name: linux-ia32 | |
asset_content_type: application/octet-stream | |
- uses: actions/upload-release-asset@v1.0.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: bin/linux-ia32.gz | |
asset_name: linux-ia32.gz | |
asset_content_type: application/octet-stream | |
- uses: actions/upload-release-asset@v1.0.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: bin/linux-ia32.README | |
asset_name: linux-ia32.README | |
asset_content_type: text/plain | |
- uses: actions/upload-release-asset@v1.0.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: bin/linux-ia32.LICENSE | |
asset_name: linux-ia32.LICENSE | |
asset_content_type: text/plain | |
- uses: actions/upload-release-asset@v1.0.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: bin/linux-x64 | |
asset_name: linux-x64 | |
asset_content_type: application/octet-stream | |
- uses: actions/upload-release-asset@v1.0.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: bin/linux-x64.gz | |
asset_name: linux-x64.gz | |
asset_content_type: application/octet-stream | |
- uses: actions/upload-release-asset@v1.0.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: bin/linux-x64.README | |
asset_name: linux-x64.README | |
asset_content_type: text/plain | |
- uses: actions/upload-release-asset@v1.0.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: bin/linux-x64.LICENSE | |
asset_name: linux-x64.LICENSE | |
asset_content_type: text/plain | |
- uses: actions/upload-release-asset@v1.0.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: bin/win32-ia32 | |
asset_name: win32-ia32 | |
asset_content_type: application/octet-stream | |
- uses: actions/upload-release-asset@v1.0.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: bin/win32-ia32.gz | |
asset_name: win32-ia32.gz | |
asset_content_type: application/octet-stream | |
- uses: actions/upload-release-asset@v1.0.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: bin/win32-ia32.LICENSE | |
asset_name: win32-ia32.LICENSE | |
asset_content_type: text/plain | |
- uses: actions/upload-release-asset@v1.0.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: bin/win32-x64 | |
asset_name: win32-x64 | |
asset_content_type: application/octet-stream | |
- uses: actions/upload-release-asset@v1.0.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: bin/win32-x64.gz | |
asset_name: win32-x64.gz | |
asset_content_type: application/octet-stream | |
- uses: actions/upload-release-asset@v1.0.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: bin/win32-x64.LICENSE | |
asset_name: win32-x64.LICENSE | |
asset_content_type: text/plain |