Last active
August 7, 2023 15:17
-
-
Save favoyang/389c11d89b507fc9ac6f88275658d3e4 to your computer and use it in GitHub Desktop.
GitHub actions to automate semantic-release. https://medium.com/openupm/how-to-maintain-upm-package-part-2-f352fbf5f87c#09a7
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: CI | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
release: | |
name: release | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Release | |
uses: cycjimmy/semantic-release-action@v2 | |
with: | |
extra_plugins: | | |
@semantic-release/changelog | |
@semantic-release/git | |
branch: master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment