Skip to content

fix: use ref name for release name #4

fix: use ref name for release name

fix: use ref name for release name #4

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build Project
run: make build
- id: get_version
run: echo "version=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
- name: Create Release
id: create_release
uses: softprops/action-gh-release@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
name: Release ${{ github.ref_name }}
draft: false
prerelease: false
files: synergy-wholesale-account-balance-${{ steps.get_version.outputs.version }}.zip