Created
May 19, 2021 08:15
-
-
Save tianhaoz95/11e46d8d6fdb96feb46912474729704c to your computer and use it in GitHub Desktop.
This file contains hidden or 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: Publish Package | |
on: | |
push: | |
branches: | |
- "main" | |
jobs: | |
release-to-registries: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: "14" | |
- uses: actions/[email protected] | |
with: | |
ruby-version: "2.6" | |
- name: run semantic release | |
run: npm install && npm run release | |
env: | |
GITHUB_TOKEN: ${{ secrets.USE_GITHUB_TOKEN }} | |
GEM_HOST_API_KEY: ${{ secrets.RUBY_GEMS_TOKEN }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment