Skip to content

Commit

Permalink
Add release CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcus Lampert committed Jul 3, 2024
1 parent e70ea38 commit 7f427a4
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Release
# Modelled on https://github.com/OpenGreekAndLatin/First1KGreek/blob/master/.github/workflows/ci.yml

on:
push:
# Dispatch when pushing to default branch; currently `main`
branches:
- main
# Dispatch on pull requests
pull_request:
jobs:
create_release:
name: Create release
runs-on: ubuntu-latest
env:
MAJOR_VERSION: 0
MINOR_VERSION: 0
steps:
- name: Create release
uses: ncipollo/release-action@v1
with:
tag: ${{ env.MAJOR_VERSION }}.${{ env.MINOR_VERSION }}.${{ github.run_id }}

0 comments on commit 7f427a4

Please sign in to comment.