Skip to content

Commit d9534cd

Browse files
authored
chore: trigger release action manually (#142)
1 parent 08e860e commit d9534cd

File tree

1 file changed

+20
-22
lines changed

1 file changed

+20
-22
lines changed

.github/workflows/publish.yml

Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,29 @@
11
name: Publish
22
on:
3-
release:
4-
types: [ created ]
5-
3+
workflow_dispatch
64
jobs:
75
build:
86
timeout-minutes: 30
97
strategy:
108
fail-fast: false
119
runs-on: ubuntu-latest
1210
steps:
13-
- uses: actions/checkout@v2
14-
- uses: microsoft/playwright-github-action@v1
15-
- name: Set up JDK 1.8
16-
uses: actions/setup-java@v1
17-
with:
18-
java-version: 1.8
19-
server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml
20-
server-username: MAVEN_USERNAME # env variable for username in deploy
21-
server-password: MAVEN_PASSWORD # env variable for token in deploy
22-
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
23-
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
24-
- name: Download drivers
25-
shell: bash
26-
run: scripts/download_driver_for_all_platforms.sh
27-
- name: Publish to Maven Central
28-
run: mvn deploy --batch-mode -D skipTests --activate-profiles release --no-transfer-progress
29-
env:
30-
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
31-
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
11+
- uses: actions/checkout@v2
12+
- uses: microsoft/playwright-github-action@v1
13+
- name: Set up JDK 1.8
14+
uses: actions/setup-java@v1
15+
with:
16+
java-version: 1.8
17+
server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml
18+
server-username: MAVEN_USERNAME # env variable for username in deploy
19+
server-password: MAVEN_PASSWORD # env variable for token in deploy
20+
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
21+
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
22+
- name: Download drivers
23+
shell: bash
24+
run: scripts/download_driver_for_all_platforms.sh
25+
- name: Publish to Maven Central
26+
run: mvn deploy --batch-mode -D skipTests --activate-profiles release --no-transfer-progress
27+
env:
28+
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
29+
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}

0 commit comments

Comments
 (0)