wip
This commit is contained in:
21
mangezmieux-backend/.github/workflows/release.yaml
vendored
Normal file
21
mangezmieux-backend/.github/workflows/release.yaml
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
name: Release
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Semantic Release
|
||||
id: semantic # Need an `id` for output variables
|
||||
uses: cycjimmy/semantic-release-action@v4
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: rickstaa/action-create-tag@v1
|
||||
id: "tag_create"
|
||||
with:
|
||||
tag: "pkg/client/v${{ steps.semantic.outputs.new_release_version }}"
|
||||
Reference in New Issue
Block a user