Create Release π #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create Release π | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: | |
- closed | |
branches: | |
- main | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/[email protected] | |
with: | |
ref: ${{ github.sha }} | |
fetch-depth: '0' | |
- name: Bump version and push tag | |
id: create_tag | |
uses: anothrNick/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
WITH_V: false | |
PRERELEASE: false | |
DEFAULT_BUMP: patch | |
- name: Create ZIP Archive | |
run: | | |
zip logseq-nord-theme.zip custom.css icon.svg package.json | |
- name: GH Release | |
uses: softprops/[email protected] | |
with: | |
name: Release ${{ steps.create_tag.outputs.new_tag }} | |
tag_name: ${{ steps.create_tag.outputs.new_tag }} | |
draft: false | |
prerelease: false | |
files: logseq-nord-theme.zip | |
repository: Bad3r/Logseq-Nord-Theme | |
token: ${{ secrets.GITHUB_TOKEN }} | |
generate_release_notes: true |