Skip to content

Commit bbc58b5

Browse files
committed
ci: remove create ref
1 parent ad99a64 commit bbc58b5

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

.github/workflows/build-and-release.yaml

-12
Original file line numberDiff line numberDiff line change
@@ -61,18 +61,6 @@ jobs:
6161
./gradlew ciVersioning -Poutput=$GITHUB_OUTPUT
6262
./gradlew ciReleaseApp
6363
64-
- if: github.ref == 'refs/heads/main' && github.event_name == 'push'
65-
name: Create tag
66-
uses: actions/github-script@v7
67-
with:
68-
script: |
69-
github.rest.git.createRef({
70-
owner: context.repo.owner,
71-
repo: context.repo.repo,
72-
ref: 'refs/tags/v${{ steps.build.outputs.version }}',
73-
sha: context.sha
74-
})
75-
7664
- if: github.ref == 'refs/heads/main' && github.event_name == 'push'
7765
name: Release
7866
uses: svenstaro/upload-release-action@v2

0 commit comments

Comments
 (0)