Skip to content

Merge branch 'main' of https://github.com/OnionUI/Onion #17

Merge branch 'main' of https://github.com/OnionUI/Onion

Merge branch 'main' of https://github.com/OnionUI/Onion #17

Workflow file for this run

name: Tagged release
on:
push:
tags:
- v*
jobs:
tagged-release:
name: Tagged release
runs-on: ubuntu-latest
container:
image: aemiii91/miyoomini-toolchain:latest
options: --user root
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: recursive
- name: Get version
run: |
TAG="${{ github.ref_name }}"
echo "BUILD_VERSION=${TAG#v}" >> $GITHUB_ENV
- name: Build release
shell: bash
run: |
source /root/.bashrc
VERSION_OVERRIDE=${{ env.BUILD_VERSION }} make release
- uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
prerelease: false
draft: true
title: "Onion V${{ env.BUILD_VERSION }}"
files: |
release/Onion-v${{ env.BUILD_VERSION }}.zip