feat: add new loading icons (#345) #261
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: "Release" | |
on: | |
push: | |
branches: | |
- beta | |
- main | |
jobs: | |
## | |
# install | |
## | |
install: | |
name: "Install" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "🛎 Checkout" | |
uses: actions/checkout@v4 | |
- name: "🔧 Setup" | |
uses: ./.github/actions/use-dependencies | |
## | |
# release | |
## | |
release: | |
name: "Release" | |
needs: [install] | |
permissions: | |
contents: write # to be able to publish a github release | |
issues: write # to be able to comment on released issues | |
pull-requests: write # to be able to comment on released pull requests | |
runs-on: ubuntu-latest | |
environment: production | |
steps: | |
- name: "🛎 Checkout" | |
uses: actions/checkout@v4 | |
- name: "📦 Install yq" | |
uses: ./.github/actions/install-yq | |
- name: "🔧 Setup" | |
uses: ./.github/actions/use-dependencies | |
- name: "📝 Create .env file" | |
uses: ./.github/actions/create-env-file | |
with: | |
provider_id: ${{ vars.PROVIDER_ID }} | |
- name: "🔖 Release" | |
env: | |
# appears on the release commits | |
GIT_AUTHOR_NAME: kibi-bot | |
GIT_AUTHOR_EMAIL: [email protected] | |
GIT_COMMITTER_NAME: kibi-bot | |
GIT_COMMITTER_EMAIL: [email protected] | |
# used to push the release commit and create the tags | |
GITHUB_TOKEN: ${{ secrets.READ_AND_WRITE_REPOS_TOKEN }} | |
run: yarn semantic-release |