refactor: use 0.10.0 vim.ui.open for opening url, falling back to cus… #23
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: Semantic Release | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
semantic-release: | |
runs-on: ubuntu-latest | |
environment: release | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.PROJECT_ACCESS_TOKEN }} | |
- name: Import GPG key | |
id: import-gpg | |
uses: crazy-max/ghaction-import-gpg@v4 | |
with: | |
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | |
passphrase: ${{ secrets.PASSPHRASE }} | |
git_user_signingkey: true | |
git_commit_gpgsign: true | |
- name: Set up git config | |
run: | | |
export GIT_AUTHOR_EMAIL="${{ steps.import-gpg.outputs.email }}" | |
export GIT_AUTHOR_NAME="${{ steps.import-gpg.outputs.name }}" | |
export GIT_COMMITTER_EMAIL="${{ steps.import-gpg.outputs.email }}" | |
export GIT_COMMITTER_NAME="${{ steps.import-gpg.outputs.name }}" | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 20 | |
- name: semantic-release dependencies | |
run: | | |
yarn global add \ | |
semantic-release \ | |
@semantic-release/changelog \ | |
@semantic-release/exec \ | |
@semantic-release/git | |
- name: Release | |
run: semantic-release | |
env: | |
GIT_AUTHOR_EMAIL: "${{ steps.import-gpg.outputs.email }}" | |
GIT_AUTHOR_NAME: "${{ steps.import-gpg.outputs.name }}" | |
GIT_COMMITTER_EMAIL: "${{ steps.import-gpg.outputs.email }}" | |
GIT_COMMITTER_NAME: "${{ steps.import-gpg.outputs.name }}" |