Skip to content

Commit 3a7107a

Browse files
committed
Deactivating publish as SHA since this creates a LOT of versions until we have an actual use-case
1 parent 0699a26 commit 3a7107a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,12 @@ jobs:
148148
env:
149149
VERSION: ${{ env.version }}
150150
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
151-
- name: Publish to GitHub Packages (as commit SHA)
152-
if: github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name, 'publish-to-github-packages')
153-
run: |
154-
./gradlew --parallel -Pversion=${GITHUB_SHA::7} publishAllPublicationsToGitHubPackagesRepository
155-
env:
156-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
151+
#- name: Publish to GitHub Packages (as commit SHA)
152+
# if: github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name, 'publish-to-github-packages')
153+
# run: |
154+
# ./gradlew --parallel -Pversion=${GITHUB_SHA::7} publishAllPublicationsToGitHubPackagesRepository
155+
# env:
156+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
157157
- name: Create Release
158158
if: startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, 'beta') && !contains(github.ref, 'alpha')
159159
id: create_release

0 commit comments

Comments
 (0)