Initial release
This commit is contained in:
parent
0227a6b412
commit
142d718dcb
12 changed files with 2685 additions and 0 deletions
44
.github/workflows/release_tarball.yml
vendored
Normal file
44
.github/workflows/release_tarball.yml
vendored
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
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: 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue