Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: trigger release workflow after creating dev tag #1610

Merged
merged 3 commits into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/create-dev-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ env:

permissions:
contents: write
actions: write

jobs:
create-dev-tag:
Expand All @@ -34,9 +35,6 @@ jobs:
ref: ${{ matrix.branch }}
depth: 0

- name: Configure git for private repo access
run: git config --global url.https://[email protected]/.insteadOf https://github.com/

- name: Setup asdf
uses: asdf-vm/actions/setup@v2

Expand All @@ -58,3 +56,9 @@ jobs:

- name: Push tag
run: git push --force --tags origin ${{ env.TAG }}

- name: Run release workflow
uses: benc-uk/workflow-dispatch@v121
with:
workflow: release.yml
ref: ${{ env.TAG }}
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Release

on:
workflow_dispatch:
gracedo marked this conversation as resolved.
Show resolved Hide resolved
push:
tags:
- 'v*'
Expand Down