Skip to content

ci: replace github.ref with more approriete github.ref_name #2

ci: replace github.ref with more approriete github.ref_name

ci: replace github.ref with more approriete github.ref_name #2

Workflow file for this run

name: Create Release
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build project
run: |
./build.sh ${{ github.ref_name }}
- uses: ncipollo/release-action@v1
with:
artifacts: "optichoice-${{ github.ref_name }}.tar.gz"