-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(Build): Improved release process
- Loading branch information
Showing
3 changed files
with
11 additions
and
7,453 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,26 +16,24 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
token: ${{ secrets.OBLAK_BOT_TOKEN }} | ||
- name: Import GPG key | ||
- name: Import GPG keys | ||
uses: crazy-max/ghaction-import-gpg@v6 | ||
id: gpg | ||
with: | ||
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | ||
passphrase: ${{ secrets.GPG_PASSPHRASE }} | ||
git_config_global: true | ||
git_user_signingkey: true | ||
git_commit_gpgsign: true | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v4 | ||
- name: Semantic Release | ||
uses: cycjimmy/semantic-release-action@v4 | ||
with: | ||
node-version: 18 | ||
cache: npm | ||
- name: Install NPM dependencies | ||
run: npm install | ||
- name: Release | ||
extra_plugins: | | ||
@semantic-release/github | ||
@semantic-release/exec | ||
env: | ||
GIT_AUTHOR_NAME: "oblakbot" | ||
GIT_AUTHOR_EMAIL: "[email protected]" | ||
GIT_COMMITTER_NAME: "oblakbot" | ||
GIT_COMMITTER_EMAIL: "[email protected]" | ||
GIT_AUTHOR_NAME: ${{ steps.gpg.outputs.name}} | ||
GIT_AUTHOR_EMAIL: ${{ steps.gpg.outputs.email}} | ||
GIT_COMMITTER_NAME: ${{ steps.gpg.outputs.name}} | ||
GIT_COMMITTER_EMAIL: ${{ steps.gpg.outputs.email}} | ||
GITHUB_TOKEN: ${{ secrets.OBLAK_BOT_TOKEN }} | ||
run: yarn semantic-release |
Oops, something went wrong.