Add GCP url support (#211) #10
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: slim/release | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
release: | |
name: "Bump version and cut a release" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
with: | |
ref: master | |
persist-credentials: false | |
- name: Setup node | |
uses: actions/[email protected] | |
with: | |
node-version: 20.8.1 | |
- name: Install dependencies | |
run: yarn | |
- name: Build | |
run: yarn build | |
- name: Zip build | |
run: zip -r build.zip build | |
- name: Bump version and cut a release | |
env: | |
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }} | |
GIT_AUTHOR_NAME: ${{ vars.RELEASE_GIT_AUTHOR_NAME }} | |
GIT_AUTHOR_EMAIL: ${{ vars.RELEASE_GIT_AUTHOR_EMAIL }} | |
GIT_COMMITTER_NAME: ${{ vars.RELEASE_GIT_COMMITTER_NAME }} | |
GIT_COMMITTER_EMAIL: ${{ vars.RELEASE_GIT_COMMITTER_EMAIL }} | |
run: npx semantic-release --branches master |