Skip to content

Merge pull request #177 from EAT-SSU/fix/code #10

Merge pull request #177 from EAT-SSU/fix/code

Merge pull request #177 from EAT-SSU/fix/code #10

Workflow file for this run

name: Release Tag

Check failure on line 1 in .github/workflows/release_tag.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release_tag.yml

Invalid workflow file

You have an error in your yaml syntax
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: 버전 정보 μΆ”μΆœ
run: echo "##[set-output name=version;]$(echo '${{ github.event.head_commit.message }}' | egrep -o '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}')"
id: extract_version_name
- name: Release 생성
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.extract_version_name.outputs.version }}
release_name: ${{ steps.extract_version_name.outputs.version }}