chore: v2.1.0 released #30
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
# (c) Copyright 2019-2024 OLX | |
name: release | |
on: | |
push: | |
branches: | |
- master | |
# Only allow one release workflow to execute at a time, since each release | |
# workflow uses shared resources (git tags, package registries) | |
concurrency: | |
group: ${{ github.workflow }} | |
env: | |
REGISTRY: ghcr.io | |
IMAGE_NAME: ${{ github.repository }}/dali | |
jobs: | |
get-next-version: | |
uses: semantic-release-action/next-release-version/.github/workflows/next-release-version.yml@v4 | |
release: | |
runs-on: ubuntu-latest | |
name: Release | |
if: needs.get-next-version.outputs.new-release-published == 'true' | |
needs: | |
- get-next-version | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
# Install the dependency for @semantic-release/exec | |
- name: Install semantic-release-cargo | |
uses: taiki-e/install-action@v2 | |
with: | |
tool: semantic-release-cargo@2 | |
- name: Semantic Release | |
id: semantic | |
uses: cycjimmy/semantic-release-action@v4 | |
env: | |
GH_TOKEN: ${{ secrets.SEM_REL_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.SEM_REL_TOKEN }} | |
GITHUB_USER: ${{ github.repository_owner }} | |
with: | |
semantic_version: 22.0.8 | |
dry_run: false | |
extra_plugins: | | |
@commitlint/[email protected] | |
@semantic-release/[email protected] | |
@semantic-release/[email protected] | |
@semantic-release/[email protected] | |
@semantic-release/[email protected] | |
@semantic-release/[email protected] | |
@semantic-release/[email protected] | |
[email protected] |