Skip to content

Commit

Permalink
Automate release creation
Browse files Browse the repository at this point in the history
  • Loading branch information
xendk committed Nov 13, 2024
1 parent b1f58dd commit 8addc2f
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish release
on:
push:
tags:
- "*"
jobs:
publish:
name: Publish release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Create archive
run: |
git archive --format=zip --prefix=kdb_brugbyen/ HEAD -o kdb_brugbyen.zip
- name: Publish release
uses: ghalactic/github-release-from-tag@v5
with:
assets: |
- path: kdb_brugbyen.zip

0 comments on commit 8addc2f

Please sign in to comment.