Skip to content

Commit 82d1908

Browse files
committed
Bootstrap localstack via the services option in GitHub Workflows
1 parent f84cdf0 commit 82d1908

File tree

3 files changed

+5
-25
lines changed

3 files changed

+5
-25
lines changed

.github/workflows/gradle-release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ on: workflow_dispatch
1616
jobs:
1717
build:
1818
runs-on: ubuntu-latest
19-
19+
services:
20+
localstack:
21+
image: localstack/localstack:latest
22+
ports:
23+
- 4566:4566
2024
steps:
2125
- uses: actions/checkout@v3
2226
with:
@@ -26,9 +30,6 @@ jobs:
2630
with:
2731
java-version: 11
2832
distribution: 'adopt'
29-
- name: Setup localstack
30-
run: ./bin/setup_localstack.sh
31-
shell: bash
3233

3334
# Publish through gradle
3435
- name: Publish with Gradle
File renamed without changes.

bin/setup_localstack.sh

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)