We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 75cdac9 + e5a35be commit 47577abCopy full SHA for 47577ab
.github/workflows/release.yml
@@ -9,6 +9,17 @@ on:
9
jobs:
10
production-release:
11
runs-on: ubuntu-latest
12
+ services:
13
+ app:
14
+ image: ghcr.io/deploygate/gradle-plugin-mock-server
15
+ ports:
16
+ - 3000/tcp
17
+ options: >-
18
+ --health-cmd "curl -fI http://localhost:3000"
19
+ --health-interval 15s
20
+ --health-timeout 5s
21
+ --health-retries 5
22
+ --health-start-period 20s
23
steps:
24
- uses: actions/checkout@v3
25
with:
@@ -32,6 +43,7 @@ jobs:
32
43
- name: Publish artifacts
33
44
run: ./release.sh
34
45
env:
46
+ TEST_SERVER_URL: http://localhost:${{ job.services.app.ports[3000] }}
35
47
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.GPG_SECRET_KEY }}
36
48
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.GPG_PASSPHRASE }}
37
49
- name: Slack Notification
0 commit comments