Skip to content

Update http4s-blaze-client to 0.23.17 #2880

Update http4s-blaze-client to 0.23.17

Update http4s-blaze-client to 0.23.17 #2880

Workflow file for this run

name: CI
'on':
pull_request:
branches-ignore:
- gh-pages
push:
branches:
- master
jobs:
tag:
name: Tag build
runs-on: ubuntu-latest
if: ${{ github.actor != 'github-actions[bot]' }}
steps:
- name: Checkout current branch
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Java and Scala
uses: olafurpg/setup-scala@v11
with:
java-version: [email protected]
- name: Cache SBT
uses: actions/cache@v2
with:
path: |-
~/.ivy2/cache
~/.sbt
~/.coursier/cache/v1
~/.cache/coursier/v1
key: ubuntu-latest-sbt-2.13.14-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('**/build.properties')
}}
- name: Setup GIT user
uses: fregante/setup-git-user@v1
- name: Turnstyle
uses: softprops/turnstyle@v1
if: ${{ github.ref == 'refs/heads/master' }}
env:
GITHUB_TOKEN: ${{ secrets.ADMIN_GITHUB_TOKEN }}
- name: Tag release
if: ${{ github.ref == 'refs/heads/master' }}
run: sbt -J-XX:+UseG1GC -J-Xmx6g -J-Xms6g -J-Xss16m tagAwsVersion ciReleaseTagNextVersion
build-core:
name: Build and test core
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
scala:
- 2.12.19
- 2.13.14
- 3.3.3
java:
- [email protected]
needs:
- tag
if: ${{ github.actor != 'github-actions[bot]' }}
steps:
- name: Checkout current branch
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Java and Scala
uses: olafurpg/setup-scala@v11
with:
java-version: [email protected]
- name: Setup GPG
uses: olafurpg/setup-gpg@v3
if: ${{ github.ref == 'refs/heads/master' }}
- name: Load PGP secret
if: ${{ github.ref == 'refs/heads/master' }}
run: .github/import-key.sh
env:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
- name: Cache SBT
uses: actions/cache@v2
with:
path: |-
~/.ivy2/cache
~/.sbt
~/.coursier/cache/v1
~/.cache/coursier/v1
key: ${{ matrix.os }}-sbt-${{ matrix.scala }}-${{ hashFiles('**/*.sbt') }}-${{
hashFiles('**/build.properties') }}
- name: Build and test core
run: sbt -J-XX:+UseG1GC -J-Xmx6g -J-Xms6g -J-Xss16m ++${{ matrix.scala }} zio-aws-core/test
zio-aws-akka-http/test zio-aws-http4s/test zio-aws-netty/test
- name: Publish core
if: ${{ github.ref == 'refs/heads/master' }}
run: sbt -J-XX:+UseG1GC -J-Xmx6g -J-Xms6g -J-Xss16m ++${{ matrix.scala }} zio-aws-core/publishSigned
zio-aws-akka-http/publishSigned zio-aws-http4s/publishSigned zio-aws-netty/publishSigned
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
- name: Compress core targets
run: tar cvf targets.tar target project/target zio-aws-codegen/target zio-aws-core/target
zio-aws-akka-http/target zio-aws-http4s/target zio-aws-netty/target
- name: Upload core targets
uses: actions/upload-artifact@v4
with:
name: target-core-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java }}
path: targets.tar
integration-test:
name: Integration test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
scala:
- 2.12.19
- 2.13.14
- 3.3.3
java:
- [email protected]
needs:
- build-core
services:
localstack:
image: localstack/localstack:latest
env:
EAGER_SERVICE_LOADING: '1'
DEFAULT_REGION: us-east-1
DEBUG: '1'
SERVICES: s3,dynamodb
AWS_ACCESS_KEY_ID: dummy-key
AWS_SECRET_ACCESS_KEY: dummy-key
LOCALSTACK_HOST: localstack
AWS_DEFAULT_REGION: us-east-1
USE_SSL: 'false'
ports:
- 4566:4566
if: ${{ github.actor != 'github-actions[bot]' }}
steps:
- name: Checkout current branch
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Java and Scala
uses: olafurpg/setup-scala@v11
with:
java-version: [email protected]
- name: Cache SBT
uses: actions/cache@v2
with:
path: |-
~/.ivy2/cache
~/.sbt
~/.coursier/cache/v1
~/.cache/coursier/v1
key: ${{ matrix.os }}-sbt-${{ matrix.scala }}-${{ hashFiles('**/*.sbt') }}-${{
hashFiles('**/build.properties') }}
- name: Download stored core targets
uses: actions/download-artifact@v4
with:
name: target-core-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java }}
- name: Inflate core targets
run: |-
tar xvf targets.tar
rm targets.tar
- name: Build and run tests
if: ${{ matrix.scala == '2.12.20' }}
run: sbt -J-XX:+UseG1GC -J-Xmx5g -J-Xms5g -J-Xss16m ++${{ matrix.scala }} integtests/test
- name: Build and run tests
if: ${{ (matrix.scala != '3.3.3') && (matrix.scala != '2.12.20') }}
run: sbt -J-XX:+UseG1GC -J-Xmx5g -J-Xms5g -J-Xss16m ++${{ matrix.scala }} examples/compile
integtests/test
- name: Build and run tests
if: ${{ matrix.scala == '3.3.3' }}
run: sbt -J-XX:+UseG1GC -J-Xmx5g -J-Xms5g -J-Xss16m ++${{ matrix.scala }} examples/compile
- name: Collect Docker logs
uses: jwalton/gh-docker-logs@v1
if: failure()
build-clients-0:
name: 'Build client libraries #0'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
scala:
- 2.12.19
- 2.13.14
- 3.3.3
java:
- [email protected]
needs:
- build-core
- integration-test
if: ${{ github.actor != 'github-actions[bot]' }}
steps:
- name: Checkout current branch
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Java and Scala
uses: olafurpg/setup-scala@v11
with:
java-version: [email protected]
- name: Setup GPG
uses: olafurpg/setup-gpg@v3
if: ${{ github.ref == 'refs/heads/master' }}
- name: Load PGP secret
if: ${{ github.ref == 'refs/heads/master' }}
run: .github/import-key.sh
env:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
- name: Cache SBT
uses: actions/cache@v2
with:
path: |-
~/.ivy2/cache
~/.sbt
~/.coursier/cache/v1
~/.cache/coursier/v1
key: ${{ matrix.os }}-sbt-${{ matrix.scala }}-${{ hashFiles('**/*.sbt') }}-${{
hashFiles('**/build.properties') }}
- name: Download stored core targets
uses: actions/download-artifact@v4
with:
name: target-core-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java }}
- name: Inflate core targets
run: |-
tar xvf targets.tar
rm targets.tar
- name: Build libraries
if: ${{ github.ref != 'refs/heads/master' }}
run: sbt -J-XX:+UseG1GC -J-Xmx6g -J-Xms6g -J-Xss16m ++${{ matrix.scala }} zio-aws-accessanalyzer/compile
zio-aws-account/compile zio-aws-acm/compile zio-aws-acmpca/compile zio-aws-amp/compile
zio-aws-amplify/compile zio-aws-amplifybackend/compile zio-aws-amplifyuibuilder/compile
zio-aws-apigateway/compile zio-aws-apigatewaymanagementapi/compile zio-aws-apigatewayv2/compile
zio-aws-appconfig/compile zio-aws-appconfigdata/compile zio-aws-appfabric/compile
zio-aws-appflow/compile zio-aws-appintegrations/compile zio-aws-applicationautoscaling/compile
zio-aws-applicationcostprofiler/compile zio-aws-applicationdiscovery/compile
zio-aws-applicationinsights/compile zio-aws-applicationsignals/compile zio-aws-appmesh/compile
zio-aws-apprunner/compile zio-aws-appstream/compile zio-aws-appsync/compile
zio-aws-apptest/compile zio-aws-arczonalshift/compile zio-aws-artifact/compile
zio-aws-athena/compile zio-aws-auditmanager/compile zio-aws-autoscaling/compile
zio-aws-autoscalingplans/compile zio-aws-b2bi/compile zio-aws-backup/compile
zio-aws-backupgateway/compile zio-aws-batch/compile zio-aws-bcmdataexports/compile
zio-aws-bedrock/compile zio-aws-bedrockagent/compile zio-aws-bedrockagentruntime/compile
zio-aws-bedrockruntime/compile zio-aws-billingconductor/compile zio-aws-braket/compile
zio-aws-budgets/compile zio-aws-chatbot/compile zio-aws-chime/compile zio-aws-chimesdkidentity/compile
zio-aws-chimesdkmediapipelines/compile zio-aws-chimesdkmeetings/compile zio-aws-chimesdkmessaging/compile
zio-aws-chimesdkvoice/compile zio-aws-cleanrooms/compile zio-aws-cleanroomsml/compile
zio-aws-cloud9/compile zio-aws-cloudcontrol/compile zio-aws-clouddirectory/compile
zio-aws-cloudformation/compile zio-aws-cloudfront/compile zio-aws-cloudfrontkeyvaluestore/compile
zio-aws-cloudhsm/compile zio-aws-cloudhsmv2/compile zio-aws-cloudsearch/compile
zio-aws-cloudsearchdomain/compile zio-aws-cloudtrail/compile zio-aws-cloudtraildata/compile
zio-aws-cloudwatch/compile zio-aws-cloudwatchevents/compile zio-aws-cloudwatchlogs/compile
zio-aws-codeartifact/compile zio-aws-codebuild/compile zio-aws-codecatalyst/compile
zio-aws-codecommit/compile zio-aws-codeconnections/compile zio-aws-codedeploy/compile
zio-aws-codeguruprofiler/compile zio-aws-codegurureviewer/compile zio-aws-codegurusecurity/compile
zio-aws-codepipeline/compile
- name: Build and publish libraries
if: ${{ github.ref == 'refs/heads/master' }}
run: sbt -J-XX:+UseG1GC -J-Xmx6g -J-Xms6g -J-Xss16m ++${{ matrix.scala }} zio-aws-accessanalyzer/publishSigned
zio-aws-account/publishSigned zio-aws-acm/publishSigned zio-aws-acmpca/publishSigned
zio-aws-amp/publishSigned zio-aws-amplify/publishSigned zio-aws-amplifybackend/publishSigned
zio-aws-amplifyuibuilder/publishSigned zio-aws-apigateway/publishSigned zio-aws-apigatewaymanagementapi/publishSigned
zio-aws-apigatewayv2/publishSigned zio-aws-appconfig/publishSigned zio-aws-appconfigdata/publishSigned
zio-aws-appfabric/publishSigned zio-aws-appflow/publishSigned zio-aws-appintegrations/publishSigned
zio-aws-applicationautoscaling/publishSigned zio-aws-applicationcostprofiler/publishSigned
zio-aws-applicationdiscovery/publishSigned zio-aws-applicationinsights/publishSigned
zio-aws-applicationsignals/publishSigned zio-aws-appmesh/publishSigned zio-aws-apprunner/publishSigned
zio-aws-appstream/publishSigned zio-aws-appsync/publishSigned zio-aws-apptest/publishSigned
zio-aws-arczonalshift/publishSigned zio-aws-artifact/publishSigned zio-aws-athena/publishSigned
zio-aws-auditmanager/publishSigned zio-aws-autoscaling/publishSigned zio-aws-autoscalingplans/publishSigned
zio-aws-b2bi/publishSigned zio-aws-backup/publishSigned zio-aws-backupgateway/publishSigned
zio-aws-batch/publishSigned zio-aws-bcmdataexports/publishSigned zio-aws-bedrock/publishSigned
zio-aws-bedrockagent/publishSigned zio-aws-bedrockagentruntime/publishSigned
zio-aws-bedrockruntime/publishSigned zio-aws-billingconductor/publishSigned
zio-aws-braket/publishSigned zio-aws-budgets/publishSigned zio-aws-chatbot/publishSigned
zio-aws-chime/publishSigned zio-aws-chimesdkidentity/publishSigned zio-aws-chimesdkmediapipelines/publishSigned
zio-aws-chimesdkmeetings/publishSigned zio-aws-chimesdkmessaging/publishSigned
zio-aws-chimesdkvoice/publishSigned zio-aws-cleanrooms/publishSigned zio-aws-cleanroomsml/publishSigned
zio-aws-cloud9/publishSigned zio-aws-cloudcontrol/publishSigned zio-aws-clouddirectory/publishSigned
zio-aws-cloudformation/publishSigned zio-aws-cloudfront/publishSigned zio-aws-cloudfrontkeyvaluestore/publishSigned
zio-aws-cloudhsm/publishSigned zio-aws-cloudhsmv2/publishSigned zio-aws-cloudsearch/publishSigned
zio-aws-cloudsearchdomain/publishSigned zio-aws-cloudtrail/publishSigned zio-aws-cloudtraildata/publishSigned
zio-aws-cloudwatch/publishSigned zio-aws-cloudwatchevents/publishSigned zio-aws-cloudwatchlogs/publishSigned
zio-aws-codeartifact/publishSigned zio-aws-codebuild/publishSigned zio-aws-codecatalyst/publishSigned
zio-aws-codecommit/publishSigned zio-aws-codeconnections/publishSigned zio-aws-codedeploy/publishSigned
zio-aws-codeguruprofiler/publishSigned zio-aws-codegurureviewer/publishSigned
zio-aws-codegurusecurity/publishSigned zio-aws-codepipeline/publishSigned
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
- name: Compress clients-0 targets
if: ${{ github.ref == 'refs/heads/master' }}
run: tar cvf targets.tar target
- name: Upload clients-0 targets
uses: actions/upload-artifact@v4
if: ${{ github.ref == 'refs/heads/master' }}
with:
name: target-clients-0-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java
}}
path: targets.tar
build-clients-1:
name: 'Build client libraries #1'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
scala:
- 2.12.19
- 2.13.14
- 3.3.3
java:
- [email protected]
needs:
- build-core
- integration-test
if: ${{ github.actor != 'github-actions[bot]' }}
steps:
- name: Checkout current branch
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Java and Scala
uses: olafurpg/setup-scala@v11
with:
java-version: [email protected]
- name: Setup GPG
uses: olafurpg/setup-gpg@v3
if: ${{ github.ref == 'refs/heads/master' }}
- name: Load PGP secret
if: ${{ github.ref == 'refs/heads/master' }}
run: .github/import-key.sh
env:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
- name: Cache SBT
uses: actions/cache@v2
with:
path: |-
~/.ivy2/cache
~/.sbt
~/.coursier/cache/v1
~/.cache/coursier/v1
key: ${{ matrix.os }}-sbt-${{ matrix.scala }}-${{ hashFiles('**/*.sbt') }}-${{
hashFiles('**/build.properties') }}
- name: Download stored core targets
uses: actions/download-artifact@v4
with:
name: target-core-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java }}
- name: Inflate core targets
run: |-
tar xvf targets.tar
rm targets.tar
- name: Build libraries
if: ${{ github.ref != 'refs/heads/master' }}
run: sbt -J-XX:+UseG1GC -J-Xmx6g -J-Xms6g -J-Xss16m ++${{ matrix.scala }} zio-aws-codestarconnections/compile
zio-aws-codestarnotifications/compile zio-aws-cognitoidentity/compile zio-aws-cognitoidentityprovider/compile
zio-aws-cognitosync/compile zio-aws-comprehend/compile zio-aws-comprehendmedical/compile
zio-aws-computeoptimizer/compile zio-aws-config/compile zio-aws-connect/compile
zio-aws-connectcampaigns/compile zio-aws-connectcases/compile zio-aws-connectcontactlens/compile
zio-aws-connectparticipant/compile zio-aws-controlcatalog/compile zio-aws-controltower/compile
zio-aws-costandusagereport/compile zio-aws-costexplorer/compile zio-aws-costoptimizationhub/compile
zio-aws-customerprofiles/compile zio-aws-databasemigration/compile zio-aws-databrew/compile
zio-aws-dataexchange/compile zio-aws-datapipeline/compile zio-aws-datasync/compile
zio-aws-datazone/compile zio-aws-dax/compile zio-aws-deadline/compile zio-aws-detective/compile
zio-aws-devicefarm/compile zio-aws-devopsguru/compile zio-aws-directconnect/compile
zio-aws-directory/compile zio-aws-directoryservicedata/compile zio-aws-dlm/compile
zio-aws-docdb/compile zio-aws-docdbelastic/compile zio-aws-drs/compile zio-aws-dynamodb/compile
zio-aws-dynamodbstreams/compile zio-aws-ebs/compile zio-aws-ec2instanceconnect/compile
zio-aws-ecr/compile zio-aws-ecrpublic/compile zio-aws-ecs/compile zio-aws-efs/compile
zio-aws-eks/compile zio-aws-eksauth/compile zio-aws-elasticache/compile zio-aws-elasticbeanstalk/compile
zio-aws-elasticinference/compile zio-aws-elasticloadbalancing/compile zio-aws-elasticloadbalancingv2/compile
zio-aws-elasticsearch/compile zio-aws-elastictranscoder/compile zio-aws-emr/compile
zio-aws-emrcontainers/compile zio-aws-emrserverless/compile zio-aws-entityresolution/compile
zio-aws-eventbridge/compile zio-aws-evidently/compile zio-aws-finspace/compile
zio-aws-finspacedata/compile zio-aws-firehose/compile zio-aws-fis/compile
zio-aws-fms/compile zio-aws-forecast/compile zio-aws-forecastquery/compile
zio-aws-frauddetector/compile zio-aws-freetier/compile zio-aws-fsx/compile
zio-aws-gamelift/compile zio-aws-glacier/compile zio-aws-globalaccelerator/compile
zio-aws-glue/compile zio-aws-grafana/compile zio-aws-greengrass/compile zio-aws-greengrassv2/compile
- name: Build and publish libraries
if: ${{ github.ref == 'refs/heads/master' }}
run: sbt -J-XX:+UseG1GC -J-Xmx6g -J-Xms6g -J-Xss16m ++${{ matrix.scala }} zio-aws-codestarconnections/publishSigned
zio-aws-codestarnotifications/publishSigned zio-aws-cognitoidentity/publishSigned
zio-aws-cognitoidentityprovider/publishSigned zio-aws-cognitosync/publishSigned
zio-aws-comprehend/publishSigned zio-aws-comprehendmedical/publishSigned zio-aws-computeoptimizer/publishSigned
zio-aws-config/publishSigned zio-aws-connect/publishSigned zio-aws-connectcampaigns/publishSigned
zio-aws-connectcases/publishSigned zio-aws-connectcontactlens/publishSigned
zio-aws-connectparticipant/publishSigned zio-aws-controlcatalog/publishSigned
zio-aws-controltower/publishSigned zio-aws-costandusagereport/publishSigned
zio-aws-costexplorer/publishSigned zio-aws-costoptimizationhub/publishSigned
zio-aws-customerprofiles/publishSigned zio-aws-databasemigration/publishSigned
zio-aws-databrew/publishSigned zio-aws-dataexchange/publishSigned zio-aws-datapipeline/publishSigned
zio-aws-datasync/publishSigned zio-aws-datazone/publishSigned zio-aws-dax/publishSigned
zio-aws-deadline/publishSigned zio-aws-detective/publishSigned zio-aws-devicefarm/publishSigned
zio-aws-devopsguru/publishSigned zio-aws-directconnect/publishSigned zio-aws-directory/publishSigned
zio-aws-directoryservicedata/publishSigned zio-aws-dlm/publishSigned zio-aws-docdb/publishSigned
zio-aws-docdbelastic/publishSigned zio-aws-drs/publishSigned zio-aws-dynamodb/publishSigned
zio-aws-dynamodbstreams/publishSigned zio-aws-ebs/publishSigned zio-aws-ec2instanceconnect/publishSigned
zio-aws-ecr/publishSigned zio-aws-ecrpublic/publishSigned zio-aws-ecs/publishSigned
zio-aws-efs/publishSigned zio-aws-eks/publishSigned zio-aws-eksauth/publishSigned
zio-aws-elasticache/publishSigned zio-aws-elasticbeanstalk/publishSigned zio-aws-elasticinference/publishSigned
zio-aws-elasticloadbalancing/publishSigned zio-aws-elasticloadbalancingv2/publishSigned
zio-aws-elasticsearch/publishSigned zio-aws-elastictranscoder/publishSigned
zio-aws-emr/publishSigned zio-aws-emrcontainers/publishSigned zio-aws-emrserverless/publishSigned
zio-aws-entityresolution/publishSigned zio-aws-eventbridge/publishSigned zio-aws-evidently/publishSigned
zio-aws-finspace/publishSigned zio-aws-finspacedata/publishSigned zio-aws-firehose/publishSigned
zio-aws-fis/publishSigned zio-aws-fms/publishSigned zio-aws-forecast/publishSigned
zio-aws-forecastquery/publishSigned zio-aws-frauddetector/publishSigned zio-aws-freetier/publishSigned
zio-aws-fsx/publishSigned zio-aws-gamelift/publishSigned zio-aws-glacier/publishSigned
zio-aws-globalaccelerator/publishSigned zio-aws-glue/publishSigned zio-aws-grafana/publishSigned
zio-aws-greengrass/publishSigned zio-aws-greengrassv2/publishSigned
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
- name: Compress clients-1 targets
if: ${{ github.ref == 'refs/heads/master' }}
run: tar cvf targets.tar target
- name: Upload clients-1 targets
uses: actions/upload-artifact@v4
if: ${{ github.ref == 'refs/heads/master' }}
with:
name: target-clients-1-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java
}}
path: targets.tar
build-clients-2:
name: 'Build client libraries #2'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
scala:
- 2.12.19
- 2.13.14
- 3.3.3
java:
- [email protected]
needs:
- build-core
- integration-test
if: ${{ github.actor != 'github-actions[bot]' }}
steps:
- name: Checkout current branch
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Java and Scala
uses: olafurpg/setup-scala@v11
with:
java-version: [email protected]
- name: Setup GPG
uses: olafurpg/setup-gpg@v3
if: ${{ github.ref == 'refs/heads/master' }}
- name: Load PGP secret
if: ${{ github.ref == 'refs/heads/master' }}
run: .github/import-key.sh
env:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
- name: Cache SBT
uses: actions/cache@v2
with:
path: |-
~/.ivy2/cache
~/.sbt
~/.coursier/cache/v1
~/.cache/coursier/v1
key: ${{ matrix.os }}-sbt-${{ matrix.scala }}-${{ hashFiles('**/*.sbt') }}-${{
hashFiles('**/build.properties') }}
- name: Download stored core targets
uses: actions/download-artifact@v4
with:
name: target-core-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java }}
- name: Inflate core targets
run: |-
tar xvf targets.tar
rm targets.tar
- name: Build libraries
if: ${{ github.ref != 'refs/heads/master' }}
run: sbt -J-XX:+UseG1GC -J-Xmx6g -J-Xms6g -J-Xss16m ++${{ matrix.scala }} zio-aws-groundstation/compile
zio-aws-guardduty/compile zio-aws-health/compile zio-aws-healthlake/compile
zio-aws-iam/compile zio-aws-identitystore/compile zio-aws-imagebuilder/compile
zio-aws-inspector/compile zio-aws-inspector2/compile zio-aws-inspectorscan/compile
zio-aws-internetmonitor/compile zio-aws-iot/compile zio-aws-iot1clickdevices/compile
zio-aws-iot1clickprojects/compile zio-aws-iotanalytics/compile zio-aws-iotdataplane/compile
zio-aws-iotdeviceadvisor/compile zio-aws-iotevents/compile zio-aws-ioteventsdata/compile
zio-aws-iotfleethub/compile zio-aws-iotfleetwise/compile zio-aws-iotjobsdataplane/compile
zio-aws-iotsecuretunneling/compile zio-aws-iotsitewise/compile zio-aws-iotthingsgraph/compile
zio-aws-iottwinmaker/compile zio-aws-iotwireless/compile zio-aws-ivs/compile
zio-aws-ivschat/compile zio-aws-ivsrealtime/compile zio-aws-kafka/compile
zio-aws-kafkaconnect/compile zio-aws-kendra/compile zio-aws-kendraranking/compile
zio-aws-keyspaces/compile zio-aws-kinesis/compile zio-aws-kinesisanalytics/compile
zio-aws-kinesisanalyticsv2/compile zio-aws-kinesisvideo/compile zio-aws-kinesisvideoarchivedmedia/compile
zio-aws-kinesisvideomedia/compile zio-aws-kinesisvideosignaling/compile zio-aws-kinesisvideowebrtcstorage/compile
zio-aws-kms/compile zio-aws-lakeformation/compile zio-aws-lambda/compile zio-aws-launchwizard/compile
zio-aws-lexmodelbuilding/compile zio-aws-lexmodelsv2/compile zio-aws-lexruntime/compile
zio-aws-lexruntimev2/compile zio-aws-licensemanager/compile zio-aws-licensemanagerlinuxsubscriptions/compile
zio-aws-licensemanagerusersubscriptions/compile zio-aws-lightsail/compile
zio-aws-location/compile zio-aws-lookoutequipment/compile zio-aws-lookoutmetrics/compile
zio-aws-lookoutvision/compile zio-aws-m2/compile zio-aws-machinelearning/compile
zio-aws-macie2/compile zio-aws-mailmanager/compile zio-aws-managedblockchain/compile
zio-aws-managedblockchainquery/compile zio-aws-marketplaceagreement/compile
zio-aws-marketplacecatalog/compile zio-aws-marketplacecommerceanalytics/compile
zio-aws-marketplacedeployment/compile zio-aws-marketplaceentitlement/compile
zio-aws-marketplacemetering/compile zio-aws-marketplacereporting/compile zio-aws-mediaconnect/compile
zio-aws-mediaconvert/compile zio-aws-medialive/compile zio-aws-mediapackage/compile
zio-aws-mediapackagev2/compile zio-aws-mediapackagevod/compile
- name: Build and publish libraries
if: ${{ github.ref == 'refs/heads/master' }}
run: sbt -J-XX:+UseG1GC -J-Xmx6g -J-Xms6g -J-Xss16m ++${{ matrix.scala }} zio-aws-groundstation/publishSigned
zio-aws-guardduty/publishSigned zio-aws-health/publishSigned zio-aws-healthlake/publishSigned
zio-aws-iam/publishSigned zio-aws-identitystore/publishSigned zio-aws-imagebuilder/publishSigned
zio-aws-inspector/publishSigned zio-aws-inspector2/publishSigned zio-aws-inspectorscan/publishSigned
zio-aws-internetmonitor/publishSigned zio-aws-iot/publishSigned zio-aws-iot1clickdevices/publishSigned
zio-aws-iot1clickprojects/publishSigned zio-aws-iotanalytics/publishSigned
zio-aws-iotdataplane/publishSigned zio-aws-iotdeviceadvisor/publishSigned
zio-aws-iotevents/publishSigned zio-aws-ioteventsdata/publishSigned zio-aws-iotfleethub/publishSigned
zio-aws-iotfleetwise/publishSigned zio-aws-iotjobsdataplane/publishSigned
zio-aws-iotsecuretunneling/publishSigned zio-aws-iotsitewise/publishSigned
zio-aws-iotthingsgraph/publishSigned zio-aws-iottwinmaker/publishSigned zio-aws-iotwireless/publishSigned
zio-aws-ivs/publishSigned zio-aws-ivschat/publishSigned zio-aws-ivsrealtime/publishSigned
zio-aws-kafka/publishSigned zio-aws-kafkaconnect/publishSigned zio-aws-kendra/publishSigned
zio-aws-kendraranking/publishSigned zio-aws-keyspaces/publishSigned zio-aws-kinesis/publishSigned
zio-aws-kinesisanalytics/publishSigned zio-aws-kinesisanalyticsv2/publishSigned
zio-aws-kinesisvideo/publishSigned zio-aws-kinesisvideoarchivedmedia/publishSigned
zio-aws-kinesisvideomedia/publishSigned zio-aws-kinesisvideosignaling/publishSigned
zio-aws-kinesisvideowebrtcstorage/publishSigned zio-aws-kms/publishSigned
zio-aws-lakeformation/publishSigned zio-aws-lambda/publishSigned zio-aws-launchwizard/publishSigned
zio-aws-lexmodelbuilding/publishSigned zio-aws-lexmodelsv2/publishSigned zio-aws-lexruntime/publishSigned
zio-aws-lexruntimev2/publishSigned zio-aws-licensemanager/publishSigned zio-aws-licensemanagerlinuxsubscriptions/publishSigned
zio-aws-licensemanagerusersubscriptions/publishSigned zio-aws-lightsail/publishSigned
zio-aws-location/publishSigned zio-aws-lookoutequipment/publishSigned zio-aws-lookoutmetrics/publishSigned
zio-aws-lookoutvision/publishSigned zio-aws-m2/publishSigned zio-aws-machinelearning/publishSigned
zio-aws-macie2/publishSigned zio-aws-mailmanager/publishSigned zio-aws-managedblockchain/publishSigned
zio-aws-managedblockchainquery/publishSigned zio-aws-marketplaceagreement/publishSigned
zio-aws-marketplacecatalog/publishSigned zio-aws-marketplacecommerceanalytics/publishSigned
zio-aws-marketplacedeployment/publishSigned zio-aws-marketplaceentitlement/publishSigned
zio-aws-marketplacemetering/publishSigned zio-aws-marketplacereporting/publishSigned
zio-aws-mediaconnect/publishSigned zio-aws-mediaconvert/publishSigned zio-aws-medialive/publishSigned
zio-aws-mediapackage/publishSigned zio-aws-mediapackagev2/publishSigned zio-aws-mediapackagevod/publishSigned
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
- name: Compress clients-2 targets
if: ${{ github.ref == 'refs/heads/master' }}
run: tar cvf targets.tar target
- name: Upload clients-2 targets
uses: actions/upload-artifact@v4
if: ${{ github.ref == 'refs/heads/master' }}
with:
name: target-clients-2-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java
}}
path: targets.tar
build-clients-3:
name: 'Build client libraries #3'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
scala:
- 2.12.19
- 2.13.14
- 3.3.3
java:
- [email protected]
needs:
- build-core
- integration-test
if: ${{ github.actor != 'github-actions[bot]' }}
steps:
- name: Checkout current branch
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Java and Scala
uses: olafurpg/setup-scala@v11
with:
java-version: [email protected]
- name: Setup GPG
uses: olafurpg/setup-gpg@v3
if: ${{ github.ref == 'refs/heads/master' }}
- name: Load PGP secret
if: ${{ github.ref == 'refs/heads/master' }}
run: .github/import-key.sh
env:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
- name: Cache SBT
uses: actions/cache@v2
with:
path: |-
~/.ivy2/cache
~/.sbt
~/.coursier/cache/v1
~/.cache/coursier/v1
key: ${{ matrix.os }}-sbt-${{ matrix.scala }}-${{ hashFiles('**/*.sbt') }}-${{
hashFiles('**/build.properties') }}
- name: Download stored core targets
uses: actions/download-artifact@v4
with:
name: target-core-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java }}
- name: Inflate core targets
run: |-
tar xvf targets.tar
rm targets.tar
- name: Build libraries
if: ${{ github.ref != 'refs/heads/master' }}
run: sbt -J-XX:+UseG1GC -J-Xmx6g -J-Xms6g -J-Xss16m ++${{ matrix.scala }} zio-aws-mediastore/compile
zio-aws-mediastoredata/compile zio-aws-mediatailor/compile zio-aws-medicalimaging/compile
zio-aws-memorydb/compile zio-aws-mgn/compile zio-aws-migrationhub/compile
zio-aws-migrationhubconfig/compile zio-aws-migrationhuborchestrator/compile
zio-aws-migrationhubrefactorspaces/compile zio-aws-migrationhubstrategy/compile
zio-aws-mq/compile zio-aws-mturk/compile zio-aws-mwaa/compile zio-aws-neptune/compile
zio-aws-neptunedata/compile zio-aws-neptunegraph/compile zio-aws-networkfirewall/compile
zio-aws-networkmanager/compile zio-aws-networkmonitor/compile zio-aws-nimble/compile
zio-aws-oam/compile zio-aws-omics/compile zio-aws-opensearch/compile zio-aws-opensearchserverless/compile
zio-aws-opsworks/compile zio-aws-opsworkscm/compile zio-aws-organizations/compile
zio-aws-osis/compile zio-aws-outposts/compile zio-aws-panorama/compile zio-aws-paymentcryptography/compile
zio-aws-paymentcryptographydata/compile zio-aws-pcaconnectorad/compile zio-aws-pcaconnectorscep/compile
zio-aws-pcs/compile zio-aws-personalize/compile zio-aws-personalizeevents/compile
zio-aws-personalizeruntime/compile zio-aws-pi/compile zio-aws-pinpoint/compile
zio-aws-pinpointemail/compile zio-aws-pinpointsmsvoice/compile zio-aws-pinpointsmsvoicev2/compile
zio-aws-pipes/compile zio-aws-polly/compile zio-aws-pricing/compile zio-aws-privatenetworks/compile
zio-aws-proton/compile zio-aws-qapps/compile zio-aws-qbusiness/compile zio-aws-qconnect/compile
zio-aws-qldb/compile zio-aws-qldbsession/compile zio-aws-quicksight/compile
zio-aws-ram/compile zio-aws-rbin/compile zio-aws-rds/compile zio-aws-rdsdata/compile
zio-aws-redshift/compile zio-aws-redshiftdata/compile zio-aws-redshiftserverless/compile
zio-aws-rekognition/compile zio-aws-repostspace/compile zio-aws-resiliencehub/compile
zio-aws-resourceexplorer2/compile zio-aws-resourcegroups/compile zio-aws-resourcegroupstaggingapi/compile
zio-aws-robomaker/compile zio-aws-rolesanywhere/compile zio-aws-route53/compile
zio-aws-route53domains/compile zio-aws-route53profiles/compile zio-aws-route53recoverycluster/compile
zio-aws-route53recoverycontrolconfig/compile zio-aws-route53recoveryreadiness/compile
zio-aws-route53resolver/compile zio-aws-rum/compile
- name: Build and publish libraries
if: ${{ github.ref == 'refs/heads/master' }}
run: sbt -J-XX:+UseG1GC -J-Xmx6g -J-Xms6g -J-Xss16m ++${{ matrix.scala }} zio-aws-mediastore/publishSigned
zio-aws-mediastoredata/publishSigned zio-aws-mediatailor/publishSigned zio-aws-medicalimaging/publishSigned
zio-aws-memorydb/publishSigned zio-aws-mgn/publishSigned zio-aws-migrationhub/publishSigned
zio-aws-migrationhubconfig/publishSigned zio-aws-migrationhuborchestrator/publishSigned
zio-aws-migrationhubrefactorspaces/publishSigned zio-aws-migrationhubstrategy/publishSigned
zio-aws-mq/publishSigned zio-aws-mturk/publishSigned zio-aws-mwaa/publishSigned
zio-aws-neptune/publishSigned zio-aws-neptunedata/publishSigned zio-aws-neptunegraph/publishSigned
zio-aws-networkfirewall/publishSigned zio-aws-networkmanager/publishSigned
zio-aws-networkmonitor/publishSigned zio-aws-nimble/publishSigned zio-aws-oam/publishSigned
zio-aws-omics/publishSigned zio-aws-opensearch/publishSigned zio-aws-opensearchserverless/publishSigned
zio-aws-opsworks/publishSigned zio-aws-opsworkscm/publishSigned zio-aws-organizations/publishSigned
zio-aws-osis/publishSigned zio-aws-outposts/publishSigned zio-aws-panorama/publishSigned
zio-aws-paymentcryptography/publishSigned zio-aws-paymentcryptographydata/publishSigned
zio-aws-pcaconnectorad/publishSigned zio-aws-pcaconnectorscep/publishSigned
zio-aws-pcs/publishSigned zio-aws-personalize/publishSigned zio-aws-personalizeevents/publishSigned
zio-aws-personalizeruntime/publishSigned zio-aws-pi/publishSigned zio-aws-pinpoint/publishSigned
zio-aws-pinpointemail/publishSigned zio-aws-pinpointsmsvoice/publishSigned
zio-aws-pinpointsmsvoicev2/publishSigned zio-aws-pipes/publishSigned zio-aws-polly/publishSigned
zio-aws-pricing/publishSigned zio-aws-privatenetworks/publishSigned zio-aws-proton/publishSigned
zio-aws-qapps/publishSigned zio-aws-qbusiness/publishSigned zio-aws-qconnect/publishSigned
zio-aws-qldb/publishSigned zio-aws-qldbsession/publishSigned zio-aws-quicksight/publishSigned
zio-aws-ram/publishSigned zio-aws-rbin/publishSigned zio-aws-rds/publishSigned
zio-aws-rdsdata/publishSigned zio-aws-redshift/publishSigned zio-aws-redshiftdata/publishSigned
zio-aws-redshiftserverless/publishSigned zio-aws-rekognition/publishSigned
zio-aws-repostspace/publishSigned zio-aws-resiliencehub/publishSigned zio-aws-resourceexplorer2/publishSigned
zio-aws-resourcegroups/publishSigned zio-aws-resourcegroupstaggingapi/publishSigned
zio-aws-robomaker/publishSigned zio-aws-rolesanywhere/publishSigned zio-aws-route53/publishSigned
zio-aws-route53domains/publishSigned zio-aws-route53profiles/publishSigned
zio-aws-route53recoverycluster/publishSigned zio-aws-route53recoverycontrolconfig/publishSigned
zio-aws-route53recoveryreadiness/publishSigned zio-aws-route53resolver/publishSigned
zio-aws-rum/publishSigned
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
- name: Compress clients-3 targets
if: ${{ github.ref == 'refs/heads/master' }}
run: tar cvf targets.tar target
- name: Upload clients-3 targets
uses: actions/upload-artifact@v4
if: ${{ github.ref == 'refs/heads/master' }}
with:
name: target-clients-3-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java
}}
path: targets.tar
build-clients-4:
name: 'Build client libraries #4'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
scala:
- 2.12.19
- 2.13.14
- 3.3.3
java:
- [email protected]
needs:
- build-core
- integration-test
if: ${{ github.actor != 'github-actions[bot]' }}
steps:
- name: Checkout current branch
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Java and Scala
uses: olafurpg/setup-scala@v11
with:
java-version: [email protected]
- name: Setup GPG
uses: olafurpg/setup-gpg@v3
if: ${{ github.ref == 'refs/heads/master' }}
- name: Load PGP secret
if: ${{ github.ref == 'refs/heads/master' }}
run: .github/import-key.sh
env:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
- name: Cache SBT
uses: actions/cache@v2
with:
path: |-
~/.ivy2/cache
~/.sbt
~/.coursier/cache/v1
~/.cache/coursier/v1
key: ${{ matrix.os }}-sbt-${{ matrix.scala }}-${{ hashFiles('**/*.sbt') }}-${{
hashFiles('**/build.properties') }}
- name: Download stored core targets
uses: actions/download-artifact@v4
with:
name: target-core-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java }}
- name: Inflate core targets
run: |-
tar xvf targets.tar
rm targets.tar
- name: Build libraries
if: ${{ github.ref != 'refs/heads/master' }}
run: sbt -J-XX:+UseG1GC -J-Xmx6g -J-Xms6g -J-Xss16m ++${{ matrix.scala }} zio-aws-s3/compile
zio-aws-s3control/compile zio-aws-s3outposts/compile zio-aws-sagemaker/compile
zio-aws-sagemakera2iruntime/compile zio-aws-sagemakeredge/compile zio-aws-sagemakerfeaturestoreruntime/compile
zio-aws-sagemakergeospatial/compile zio-aws-sagemakermetrics/compile zio-aws-sagemakerruntime/compile
zio-aws-savingsplans/compile zio-aws-scheduler/compile zio-aws-schemas/compile
zio-aws-secretsmanager/compile zio-aws-securityhub/compile zio-aws-securitylake/compile
zio-aws-serverlessapplicationrepository/compile zio-aws-servicecatalog/compile
zio-aws-servicecatalogappregistry/compile zio-aws-servicediscovery/compile
zio-aws-servicequotas/compile zio-aws-ses/compile zio-aws-sesv2/compile zio-aws-sfn/compile
zio-aws-shield/compile zio-aws-signer/compile zio-aws-simspaceweaver/compile
zio-aws-sms/compile zio-aws-snowball/compile zio-aws-snowdevicemanagement/compile
zio-aws-sns/compile zio-aws-socialmessaging/compile zio-aws-sqs/compile zio-aws-ssm/compile
zio-aws-ssmcontacts/compile zio-aws-ssmincidents/compile zio-aws-ssmquicksetup/compile
zio-aws-ssmsap/compile zio-aws-sso/compile zio-aws-ssoadmin/compile zio-aws-ssooidc/compile
zio-aws-storagegateway/compile zio-aws-sts/compile zio-aws-supplychain/compile
zio-aws-support/compile zio-aws-supportapp/compile zio-aws-swf/compile zio-aws-synthetics/compile
zio-aws-taxsettings/compile zio-aws-textract/compile zio-aws-timestreaminfluxdb/compile
zio-aws-timestreamquery/compile zio-aws-timestreamwrite/compile zio-aws-tnb/compile
zio-aws-transcribe/compile zio-aws-transcribestreaming/compile zio-aws-transfer/compile
zio-aws-translate/compile zio-aws-trustedadvisor/compile zio-aws-verifiedpermissions/compile
zio-aws-voiceid/compile zio-aws-vpclattice/compile zio-aws-waf/compile zio-aws-wafregional/compile
zio-aws-wafv2/compile zio-aws-wellarchitected/compile zio-aws-wisdom/compile
zio-aws-workdocs/compile zio-aws-workmail/compile zio-aws-workmailmessageflow/compile
zio-aws-workspaces/compile zio-aws-workspacesthinclient/compile zio-aws-workspacesweb/compile
zio-aws-xray/compile
- name: Build and publish libraries
if: ${{ github.ref == 'refs/heads/master' }}
run: sbt -J-XX:+UseG1GC -J-Xmx6g -J-Xms6g -J-Xss16m ++${{ matrix.scala }} zio-aws-s3/publishSigned
zio-aws-s3control/publishSigned zio-aws-s3outposts/publishSigned zio-aws-sagemaker/publishSigned
zio-aws-sagemakera2iruntime/publishSigned zio-aws-sagemakeredge/publishSigned
zio-aws-sagemakerfeaturestoreruntime/publishSigned zio-aws-sagemakergeospatial/publishSigned
zio-aws-sagemakermetrics/publishSigned zio-aws-sagemakerruntime/publishSigned
zio-aws-savingsplans/publishSigned zio-aws-scheduler/publishSigned zio-aws-schemas/publishSigned
zio-aws-secretsmanager/publishSigned zio-aws-securityhub/publishSigned zio-aws-securitylake/publishSigned
zio-aws-serverlessapplicationrepository/publishSigned zio-aws-servicecatalog/publishSigned
zio-aws-servicecatalogappregistry/publishSigned zio-aws-servicediscovery/publishSigned
zio-aws-servicequotas/publishSigned zio-aws-ses/publishSigned zio-aws-sesv2/publishSigned
zio-aws-sfn/publishSigned zio-aws-shield/publishSigned zio-aws-signer/publishSigned
zio-aws-simspaceweaver/publishSigned zio-aws-sms/publishSigned zio-aws-snowball/publishSigned
zio-aws-snowdevicemanagement/publishSigned zio-aws-sns/publishSigned zio-aws-socialmessaging/publishSigned
zio-aws-sqs/publishSigned zio-aws-ssm/publishSigned zio-aws-ssmcontacts/publishSigned
zio-aws-ssmincidents/publishSigned zio-aws-ssmquicksetup/publishSigned zio-aws-ssmsap/publishSigned
zio-aws-sso/publishSigned zio-aws-ssoadmin/publishSigned zio-aws-ssooidc/publishSigned
zio-aws-storagegateway/publishSigned zio-aws-sts/publishSigned zio-aws-supplychain/publishSigned
zio-aws-support/publishSigned zio-aws-supportapp/publishSigned zio-aws-swf/publishSigned
zio-aws-synthetics/publishSigned zio-aws-taxsettings/publishSigned zio-aws-textract/publishSigned
zio-aws-timestreaminfluxdb/publishSigned zio-aws-timestreamquery/publishSigned
zio-aws-timestreamwrite/publishSigned zio-aws-tnb/publishSigned zio-aws-transcribe/publishSigned
zio-aws-transcribestreaming/publishSigned zio-aws-transfer/publishSigned zio-aws-translate/publishSigned
zio-aws-trustedadvisor/publishSigned zio-aws-verifiedpermissions/publishSigned
zio-aws-voiceid/publishSigned zio-aws-vpclattice/publishSigned zio-aws-waf/publishSigned
zio-aws-wafregional/publishSigned zio-aws-wafv2/publishSigned zio-aws-wellarchitected/publishSigned
zio-aws-wisdom/publishSigned zio-aws-workdocs/publishSigned zio-aws-workmail/publishSigned
zio-aws-workmailmessageflow/publishSigned zio-aws-workspaces/publishSigned
zio-aws-workspacesthinclient/publishSigned zio-aws-workspacesweb/publishSigned
zio-aws-xray/publishSigned
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
- name: Compress clients-4 targets
if: ${{ github.ref == 'refs/heads/master' }}
run: tar cvf targets.tar target
- name: Upload clients-4 targets
uses: actions/upload-artifact@v4
if: ${{ github.ref == 'refs/heads/master' }}
with:
name: target-clients-4-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java
}}
path: targets.tar
build-clients-5:
name: 'Build client libraries #5'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
scala:
- 2.12.19
- 2.13.14
- 3.3.3
java:
- [email protected]
needs:
- build-core
- integration-test
if: ${{ github.actor != 'github-actions[bot]' }}
steps:
- name: Checkout current branch
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Java and Scala
uses: olafurpg/setup-scala@v11
with:
java-version: [email protected]
- name: Setup GPG
uses: olafurpg/setup-gpg@v3
if: ${{ github.ref == 'refs/heads/master' }}
- name: Load PGP secret
if: ${{ github.ref == 'refs/heads/master' }}
run: .github/import-key.sh
env:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
- name: Cache SBT
uses: actions/cache@v2
with:
path: |-
~/.ivy2/cache
~/.sbt
~/.coursier/cache/v1
~/.cache/coursier/v1
key: ${{ matrix.os }}-sbt-${{ matrix.scala }}-${{ hashFiles('**/*.sbt') }}-${{
hashFiles('**/build.properties') }}
- name: Download stored core targets
uses: actions/download-artifact@v4
with:
name: target-core-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java }}
- name: Inflate core targets
run: |-
tar xvf targets.tar
rm targets.tar
- name: Build libraries
if: ${{ github.ref != 'refs/heads/master' }}
run: sbt -J-XX:+UseG1GC -J-Xmx6g -J-Xms6g -J-Xss16m ++${{ matrix.scala }} zio-aws-ec2/compile
- name: Build and publish libraries
if: ${{ github.ref == 'refs/heads/master' }}
run: sbt -J-XX:+UseG1GC -J-Xmx6g -J-Xms6g -J-Xss16m ++${{ matrix.scala }} zio-aws-ec2/publishSigned
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
- name: Compress clients-5 targets
if: ${{ github.ref == 'refs/heads/master' }}
run: tar cvf targets.tar target
- name: Upload clients-5 targets
uses: actions/upload-artifact@v4
if: ${{ github.ref == 'refs/heads/master' }}
with:
name: target-clients-5-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java
}}
path: targets.tar
release:
name: Release
runs-on: ubuntu-latest
needs:
- build-core
- integration-test
- build-clients-0
- build-clients-1
- build-clients-2
- build-clients-3
- build-clients-4
- build-clients-5
if: ${{ (github.ref == 'refs/heads/master') && (github.actor != 'github-actions[bot]')
}}
steps:
- name: Checkout current branch
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Java and Scala
uses: olafurpg/setup-scala@v11
with:
java-version: [email protected]
- name: Setup GPG
uses: olafurpg/setup-gpg@v3
- name: Load PGP secret
run: .github/import-key.sh
env:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
- name: Cache SBT
uses: actions/cache@v2
with:
path: |-
~/.ivy2/cache
~/.sbt
~/.coursier/cache/v1
~/.cache/coursier/v1
key: ubuntu-latest-sbt-2.13.14-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('**/build.properties')
}}
- name: Download stored core targets
uses: actions/download-artifact@v4
with:
name: [email protected]
- name: Inflate core targets
run: |-
tar xvf targets.tar
rm targets.tar
- name: Download stored clients-0 targets
uses: actions/download-artifact@v4
with:
name: [email protected]
- name: Inflate clients-0 targets
run: |-
tar xvf targets.tar
rm targets.tar
- name: Download stored clients-1 targets
uses: actions/download-artifact@v4
with:
name: [email protected]
- name: Inflate clients-1 targets
run: |-
tar xvf targets.tar
rm targets.tar
- name: Download stored clients-2 targets
uses: actions/download-artifact@v4
with:
name: [email protected]
- name: Inflate clients-2 targets
run: |-
tar xvf targets.tar
rm targets.tar
- name: Download stored clients-3 targets
uses: actions/download-artifact@v4
with:
name: [email protected]
- name: Inflate clients-3 targets
run: |-
tar xvf targets.tar
rm targets.tar
- name: Download stored clients-4 targets
uses: actions/download-artifact@v4
with:
name: [email protected]
- name: Inflate clients-4 targets
run: |-
tar xvf targets.tar
rm targets.tar
- name: Download stored clients-5 targets
uses: actions/download-artifact@v4
with:
name: [email protected]
- name: Inflate clients-5 targets
run: |-
tar xvf targets.tar
rm targets.tar
- name: Download stored core targets
uses: actions/download-artifact@v4
with:
name: [email protected]
- name: Inflate core targets
run: |-
tar xvf targets.tar
rm targets.tar
- name: Download stored clients-0 targets
uses: actions/download-artifact@v4
with:
name: [email protected]
- name: Inflate clients-0 targets
run: |-
tar xvf targets.tar
rm targets.tar
- name: Download stored clients-1 targets
uses: actions/download-artifact@v4
with:
name: [email protected]
- name: Inflate clients-1 targets
run: |-
tar xvf targets.tar
rm targets.tar
- name: Download stored clients-2 targets
uses: actions/download-artifact@v4
with:
name: [email protected]
- name: Inflate clients-2 targets
run: |-
tar xvf targets.tar
rm targets.tar
- name: Download stored clients-3 targets
uses: actions/download-artifact@v4
with:
name: [email protected]
- name: Inflate clients-3 targets
run: |-
tar xvf targets.tar
rm targets.tar
- name: Download stored clients-4 targets
uses: actions/download-artifact@v4
with:
name: [email protected]
- name: Inflate clients-4 targets
run: |-
tar xvf targets.tar
rm targets.tar
- name: Download stored clients-5 targets
uses: actions/download-artifact@v4
with:
name: [email protected]
- name: Inflate clients-5 targets
run: |-
tar xvf targets.tar
rm targets.tar
- name: Download stored core targets
uses: actions/download-artifact@v4
with:
name: [email protected]
- name: Inflate core targets
run: |-
tar xvf targets.tar
rm targets.tar
- name: Download stored clients-0 targets
uses: actions/download-artifact@v4
with:
name: [email protected]
- name: Inflate clients-0 targets
run: |-
tar xvf targets.tar
rm targets.tar
- name: Download stored clients-1 targets
uses: actions/download-artifact@v4
with:
name: [email protected]
- name: Inflate clients-1 targets
run: |-
tar xvf targets.tar
rm targets.tar
- name: Download stored clients-2 targets
uses: actions/download-artifact@v4
with:
name: [email protected]
- name: Inflate clients-2 targets
run: |-
tar xvf targets.tar
rm targets.tar
- name: Download stored clients-3 targets
uses: actions/download-artifact@v4
with:
name: [email protected]
- name: Inflate clients-3 targets
run: |-
tar xvf targets.tar
rm targets.tar
- name: Download stored clients-4 targets
uses: actions/download-artifact@v4
with:
name: [email protected]
- name: Inflate clients-4 targets
run: |-
tar xvf targets.tar
rm targets.tar
- name: Download stored clients-5 targets
uses: actions/download-artifact@v4
with:
name: [email protected]
- name: Inflate clients-5 targets
run: |-
tar xvf targets.tar
rm targets.tar
- name: Publish artifacts
run: sbt -J-XX:+UseG1GC -J-Xmx5g -J-Xms5g -J-Xss16m sonatypeBundleRelease
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}