Skip to content

fix(ci): Set RUNNING_IN_CONTAINER in workflow #9

fix(ci): Set RUNNING_IN_CONTAINER in workflow

fix(ci): Set RUNNING_IN_CONTAINER in workflow #9

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
jobs:
release:
name: "Create Release"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Is pre-release?
id: is_pre_release
run: |
version="${GITHUB_REF#refs/tags/}"
if [[ "${version}" =~ -.*$ ]]; then
echo ::set-output name=IS_PRERELEASE::true
else
echo ::set-output name=IS_PRERELEASE::false
fi
- name: Release
uses: docker://antonyurchenko/git-release:v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DRAFT_RELEASE: "true"
PRE_RELEASE: ${{ steps.is_pre_release.outputs.IS_PRERELEASE }}
ALLOW_EMPTY_CHANGELOG: "false"