Skip to content

Commit

Permalink
improve actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
mazgi committed Oct 9, 2022
1 parent 17f370c commit a318316
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/use-multiple-platforms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ jobs:
- s3
runs-on:
- ubuntu-latest
# - macos-latest
# - windows-latest
steps:
- uses: actions/checkout@v3
- name: Export UIDs as environment variables
Expand Down Expand Up @@ -104,6 +102,4 @@ jobs:
- name: Stop the service
timeout-minutes: 1
run: |
rm -rf tmp/run/container-*/ || true
sleep 2
docker compose down --remove-orphans
7 changes: 2 additions & 5 deletions .github/workflows/use-one-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@ jobs:
- google-cloud
runs-on:
- ubuntu-latest
# - macos-latest
# - windows-latest
steps:
- uses: actions/checkout@v3
- name: Export UIDs as environment variables
- name: Export UIDs as environment variables, for Linux
if: matrix.runs-on == 'ubuntu-latest'
run: |
cat<<EOE > .env
# Todo https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/about-githubs-ip-addresses
Expand Down Expand Up @@ -111,6 +110,4 @@ jobs:
- name: Stop the service
timeout-minutes: 1
run: |
rm -rf tmp/run/container-*/ || true
sleep 2
docker compose --profile=use-only-${{ matrix.platform }} down --remove-orphans

0 comments on commit a318316

Please sign in to comment.