Skip to content

fix: whitespace clean-up #8

fix: whitespace clean-up

fix: whitespace clean-up #8

name: Release tarball
on:
push:
branches:
- master
permissions:
contents: write
jobs:
release_tarball:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Hjson
run: npm install -g hjson
- name: Make tarball
run: |
./zig build
tar -czf flow-themes.tar.gz zig-out
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref_name }}-${{ github.sha }}
release_name: Tarball release
body: Tarball release
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./flow-themes.tar.gz
asset_name: flow-themes.tar.gz
asset_content_type: application/gzip