Skip to content

Commit 6dfadce

Browse files
Remove the chained workflows for creating a release
Because the release is now created with a GitHub app token, the build workflow will automatically run and we don't have to use workflow_call workaround
1 parent 41e106d commit 6dfadce

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ on:
44
push:
55
branches: [ master ]
66
workflow_dispatch: {}
7-
workflow_call:
8-
inputs:
9-
release-tag:
10-
required: true
11-
type: string
127
pull_request:
138
branches: [ master ]
149

.github/workflows/release.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,3 @@ jobs:
7474
-H 'Authorization: token ${{ steps.app-token.outputs.token }}' \
7575
https://api.github.com/repos/chadkillingsworth/closure-compiler-npm/releases \
7676
-d '{"tag_name":"v${{ env.COMPILER_VERSION_NUMBER }}.0.0","name":"${{ env.COMPILER_VERSION_NUMBER }}.0.0","body":"Closure-compiler ${{ env.COMPILER_VERSION_NUMBER }} release","draft":false,"prerelease":false,"generate_release_notes":true}'
77-
78-
build:
79-
needs: create-release
80-
permissions:
81-
contents: write
82-
id-token: write # Required for OIDC
83-
if: ${{ needs.create-release.outputs.COMPILER_VERSION_NUMBER != '' }}
84-
uses: ./.github/workflows/build.yml
85-
with:
86-
release-tag: v${{ needs.create-release.outputs.COMPILER_VERSION_NUMBER }}.0.0

0 commit comments

Comments
 (0)