Skip to content

Commit 220eb2e

Browse files
committed
remove release
1 parent 8a7fc41 commit 220eb2e

File tree

1 file changed

+52
-52
lines changed

1 file changed

+52
-52
lines changed

.github/workflows/release.yml

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -108,59 +108,59 @@ jobs:
108108
token: ${{ secrets.GITHUB_TOKEN }}
109109
uploadSarifReport: false
110110

111-
build:
112-
runs-on: ubuntu-latest
113-
needs:
114-
- quality
115-
- version_seal
116-
strategy:
117-
matrix:
118-
java_version:
119-
- 8
120-
- 11
121-
- 17
122-
- 21
123-
steps:
124-
- id: download_source
125-
name: Download artifacts
126-
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.6.1
127-
with:
128-
name: source
129-
- name: Setup Java
130-
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12
131-
with:
132-
distribution: corretto
133-
java-version: ${{ matrix.java_version }}
134-
cache: maven
135-
- id: build-maven
136-
name: Build (Maven)
137-
run: |
138-
mvn -B install --file pom.xml
111+
# build:
112+
# runs-on: ubuntu-latest
113+
# needs:
114+
# - quality
115+
# - version_seal
116+
# strategy:
117+
# matrix:
118+
# java_version:
119+
# - 8
120+
# - 11
121+
# - 17
122+
# - 21
123+
# steps:
124+
# - id: download_source
125+
# name: Download artifacts
126+
# uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.6.1
127+
# with:
128+
# name: source
129+
# - name: Setup Java
130+
# uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12
131+
# with:
132+
# distribution: corretto
133+
# java-version: ${{ matrix.java_version }}
134+
# cache: maven
135+
# - id: build-maven
136+
# name: Build (Maven)
137+
# run: |
138+
# mvn -B install --file pom.xml
139139

140-
publish:
141-
runs-on: ubuntu-latest
142-
if: ${{ github.repository == 'aws-powertools/powertools-lambda-java' }}
143-
needs:
144-
- build
145-
environment: Release
146-
steps:
147-
- id: download_source
148-
name: Download artifacts
149-
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.6.1
150-
with:
151-
name: source
152-
- name: Setup Java
153-
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12
154-
with:
155-
distribution: corretto
156-
java-version: 21
157-
cache: maven
158-
- name: Publish package
159-
run: mvn -Prelease clean deploy -DskipTests
160-
env:
161-
MAVEN_USERNAME: ${{ secrets.OSSRH_JIRA_USERNAME }}
162-
MAVEN_PASSWORD: ${{ secrets.OSSRH_JIRA_PASSWORD }}
163-
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
140+
# publish:
141+
# runs-on: ubuntu-latest
142+
# if: ${{ github.repository == 'aws-powertools/powertools-lambda-java' }}
143+
# needs:
144+
# - build
145+
# environment: Release
146+
# steps:
147+
# - id: download_source
148+
# name: Download artifacts
149+
# uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.6.1
150+
# with:
151+
# name: source
152+
# - name: Setup Java
153+
# uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12
154+
# with:
155+
# distribution: corretto
156+
# java-version: 21
157+
# cache: maven
158+
# - name: Publish package
159+
# run: mvn -Prelease clean deploy -DskipTests
160+
# env:
161+
# MAVEN_USERNAME: ${{ secrets.OSSRH_JIRA_USERNAME }}
162+
# MAVEN_PASSWORD: ${{ secrets.OSSRH_JIRA_PASSWORD }}
163+
# GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
164164

165165
create_pr:
166166
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)