Skip to content

Commit

Permalink
Automatic release start
Browse files Browse the repository at this point in the history
  • Loading branch information
kubk committed Apr 23, 2024
1 parent 70b14ea commit 4b72358
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,18 @@ name: Release

on:
push:
branches: [main]
tags:
- v*

jobs:
hello:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1

- name: Exit if not on main branch
if: endsWith(github.ref, 'main') == false
run: exit -1

- name: Hello world
run: echo "Hello world"

0 comments on commit 4b72358

Please sign in to comment.