Skip to content

Commit 377fe88

Browse files
committed
ci(release): simplify workflow by removing pre-job and conditionals
Remove the pre-job that handled duplicate action skipping and simplify the release workflow by eliminating conditional checks for tag patterns. This streamlines the release process and reduces complexity in the workflow configuration. The changes include: - Removing the pre-job and its dependencies - Eliminating conditional checks for tag patterns - Removing concurrency controls to simplify job execution This refocuses the workflow on core release functionality while maintaining the essential build, publish, and release steps.
1 parent bc936fe commit 377fe88

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

template/.github/workflows/release.yaml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,8 @@ on:
1010
workflow_dispatch:
1111

1212
jobs:
13-
pre:
14-
name: Pre
15-
permissions:
16-
actions: write
17-
runs-on: ubuntu-latest
18-
outputs:
19-
should-skip: ${{ steps.pre.outputs.should-skip }}
20-
steps:
21-
- id: pre
22-
name: Skip Duplicate Actions
23-
uses: liblaf/actions-ts/pre@dist
24-
with:
25-
cancel-others: true
26-
2713
build:
2814
name: Build
29-
needs:
30-
- pre
31-
if: needs.pre.outputs.should-skip != 'true'
3215
runs-on: ubuntu-latest
3316
outputs:
3417
artifact-name: ${{ steps.build.outputs.artifact-name }}
@@ -45,11 +28,7 @@ jobs:
4528
id-token: write
4629
needs:
4730
- build
48-
if: startsWith(github.ref, 'refs/tags/v')
4931
runs-on: ubuntu-latest
50-
concurrency:
51-
group: ${{ github.workflow }} @ ${{ github.ref }}
52-
cancel-in-progress: true
5332
steps:
5433
- name: Download Artifacts
5534
uses: actions/download-artifact@v5
@@ -65,11 +44,7 @@ jobs:
6544
contents: write
6645
needs:
6746
- build
68-
if: startsWith(github.ref, 'refs/tags/v')
6947
runs-on: ubuntu-latest
70-
concurrency:
71-
group: ${{ github.workflow }} @ ${{ github.ref }}
72-
cancel-in-progress: true
7348
steps:
7449
- name: Checkout
7550
uses: actions/checkout@v5

0 commit comments

Comments
 (0)