Skip to content

Commit

Permalink
- [#53] Automate release workflow
Browse files Browse the repository at this point in the history
closes #53
  • Loading branch information
pacu committed Jun 6, 2024
1 parent 079aa1c commit 7de1823
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish release
on:
push:
tags:
- "*.*.*"

jobs:
publish:
name: Publish release
runs-on: macos-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build and Test Package
run: swift test
- name: Publish release
uses: ghalactic/github-release-from-tag@v5
with:
generateReleaseNotes: "true"

0 comments on commit 7de1823

Please sign in to comment.