Skip to content

Commit aa26284

Browse files
committed
remove succesful releases
1 parent 1c62d6f commit aa26284

File tree

1 file changed

+1
-94
lines changed

1 file changed

+1
-94
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -91,49 +91,7 @@ jobs:
9191
labels: failed-release
9292
title: Publishing v${{ steps.extract-version.outputs.VERSION }} to npm failed
9393
body: See https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
94-
release_maven:
95-
name: Publish to Maven Central
96-
needs: release
97-
runs-on: ubuntu-latest
98-
permissions:
99-
contents: read
100-
issues: write
101-
steps:
102-
- uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165
103-
with:
104-
distribution: temurin
105-
java-version: 11.x
106-
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444
107-
with:
108-
node-version: 18.x
109-
- name: Download build artifacts
110-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0
111-
with:
112-
name: build-artifact
113-
path: dist
114-
- name: Restore build artifact permissions
115-
run: cd dist && setfacl --restore=permissions-backup.acl
116-
continue-on-error: true
117-
- name: Release
118-
env:
119-
MAVEN_GPG_PRIVATE_KEY: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
120-
MAVEN_GPG_PRIVATE_KEY_PASSPHRASE: ${{ secrets.MAVEN_GPG_PRIVATE_KEY_PASSPHRASE }}
121-
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
122-
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
123-
MAVEN_STAGING_PROFILE_ID: ${{ secrets.MAVEN_STAGING_PROFILE_ID }}
124-
MAVEN_SERVER_ID: ${{ vars.MAVEN_SERVER_ID }}
125-
run: npx -p publib@latest publib-maven
126-
- name: Extract Version
127-
id: extract-version
128-
if: ${{ failure() }}
129-
run: echo "VERSION=$(cat dist/version.txt)" >> "${GITHUB_OUTPUT}"
130-
- name: Create Issue
131-
if: ${{ failure() }}
132-
uses: imjohnbo/issue-bot@572eed14422c4d6ca37e870f97e7da209422f5bd
133-
with:
134-
labels: failed-release
135-
title: Publishing v${{ steps.extract-version.outputs.VERSION }} to Maven Central failed
136-
body: See https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
94+
13795
release_pypi:
13896
name: Publish to PyPI
13997
needs: release
@@ -187,57 +145,6 @@ jobs:
187145
labels: failed-release
188146
title: Publishing v${{ steps.extract-version.outputs.VERSION }} to PyPI failed
189147
body: See https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
190-
release_nuget:
191-
name: Publish to NuGet Gallery
192-
needs: release
193-
runs-on: ubuntu-latest
194-
permissions:
195-
contents: read
196-
issues: write
197-
steps:
198-
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444
199-
with:
200-
node-version: 18.x
201-
- uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9
202-
with:
203-
dotnet-version: 9.0.x
204-
- name: Download build artifacts
205-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0
206-
with:
207-
name: build-artifact
208-
path: dist
209-
- name: Restore build artifact permissions
210-
run: cd dist && setfacl --restore=permissions-backup.acl
211-
continue-on-error: true
212-
- name: Extract Version
213-
id: extract-version
214-
run: echo "VERSION=$(cat dist/version.txt)" >> "${GITHUB_OUTPUT}"
215-
- name: Log in to MongoDB Docker registry
216-
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1
217-
with:
218-
registry: ${{ secrets.ARTIFACTORY_REGISTRY }}
219-
username: ${{ secrets.ARTIFACTORY_USER }}
220-
password: ${{ secrets.ARTIFACTORY_PASSWORD }}
221-
- name: Sign NuGet package
222-
run: |
223-
docker run \
224-
-e GRS_CONFIG_USER1_USERNAME="${{ secrets.ARTIFACTORY_SIGN_USER }}" \
225-
-e GRS_CONFIG_USER1_PASSWORD="${{ secrets.ARTIFACTORY_SIGN_PASSWORD }}" \
226-
--rm -v "$(pwd)":"$(pwd)" -w "$(pwd)" \
227-
"${{ secrets.ARTIFACTORY_REGISTRY }}/${{ secrets.ARTIFACTORY_SIGN_TOOL }}" \
228-
/bin/bash -c "jsign --tsaurl http://timestamp.digicert.com -a ${{ secrets.AUTHENTICODE_KEY_NAME }} \
229-
./dist/dotnet/MongoDB.AWSCDKResourcesMongoDBAtlas.${{ steps.extract-version.outputs.VERSION }}.nupkg"
230-
- name: Release
231-
env:
232-
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
233-
run: npx -p publib@latest publib-nuget
234-
- name: Create Issue
235-
if: ${{ failure() }}
236-
uses: imjohnbo/issue-bot@572eed14422c4d6ca37e870f97e7da209422f5bd
237-
with:
238-
labels: failed-release
239-
title: Publishing v${{ steps.extract-version.outputs.VERSION }} to NuGet Gallery failed
240-
body: See https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
241148
release_golang:
242149
name: Publish to GitHub Go Module Repository
243150
needs: release

0 commit comments

Comments
 (0)