Skip to content

Automated PR for release releases/0.1.4 (#8) #5

Automated PR for release releases/0.1.4 (#8)

Automated PR for release releases/0.1.4 (#8) #5

Workflow file for this run

name: Upload artifact on release
on:
push:
tags:
- 'releases/*'
permissions:
contents: write
jobs:
build:
name: Publish binaries
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Set env 🛠️
run: |
echo "PACKAGE_VERSION=${GITHUB_REF#refs/*/releases/}" >> $GITHUB_ENV
- name: Build 📦️
run: ./gha_build.sh
- name: Upload binary to release 🚀
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/text2motion-${{ env.PACKAGE_VERSION }}.zip
asset_name: text2motion-${{ env.PACKAGE_VERSION }}.zip
tag: ${{ github.ref }}