Skip to content

Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows … #377

Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows …

Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows … #377

Workflow file for this run

name: Create Release
on: push
jobs:
create-release:
name: Create Release
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Set PREREL environment variable
env:
TAG: ${{ github.ref }}
run: echo "PREREL=$(if [[ $TAG =~ "alpha" ]] || [[ $TAG =~ "beta" ]] || [[ $TAG =~ "rc" ]]; then echo "true"; else echo "false"; fi;)" >> $GITHUB_ENV
- name: Sanitize github.ref
run: echo "TAG_USED=$(echo ${GITHUB_REF:10})" >> $GITHUB_ENV
- name: Create Release with Assets
id: release
uses: softprops/action-gh-release@v1
with:
name: Version ${{ env.TAG_USED }}
draft: false
prerelease: ${{ env.PREREL }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}