Skip to content

Commit

Permalink
add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
axherrm committed Feb 4, 2024
1 parent 8bc4f8c commit cdfc8c9
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Release
on:
repository_dispatch:
types: [release]

jobs:
release:
name: Release new version
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the added or changed files to the repository.
contents: write
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Git Submodule Update
run: |
git pull --recurse-submodules
git submodule update --remote --recursive
- name: Commit updated submodule
uses: stefanzweifel/git-auto-commit-action@v5
- name: Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.event.client_payload.version }}

0 comments on commit cdfc8c9

Please sign in to comment.