diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b6a7ba8c7..e890cdf1e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,11 +2,15 @@ on: push: branches: - main + - experimental pull_request: release: types: - created +env: + BRANCH_TAG: ${{ github.ref_name == 'experimental' && 'experimental' || '' }} + name: CI jobs: lint: @@ -145,7 +149,10 @@ jobs: s3-bucket: ${{ secrets.SDK_TEAM_S3_BUCKET }} s3-bucket-region: ${{ secrets.SDK_TEAM_AWS_REGION }} s3-bucket-key-prefix: '@dcl/js-sdk-toolchain/branch/${{ github.head_ref || github.ref }}/@dcl/js-runtime' + custom-tag: ${{ env.BRANCH_TAG }} + branch-to-custom-tag: ${{ env.BRANCH_TAG }} env: + BRANCH_NAME: ${{ github.ref_name }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} AWS_ACCESS_KEY_ID: ${{ secrets.SDK_TEAM_AWS_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.SDK_TEAM_AWS_SECRET }} @@ -165,7 +172,10 @@ jobs: s3-bucket: ${{ secrets.SDK_TEAM_S3_BUCKET }} s3-bucket-region: ${{ secrets.SDK_TEAM_AWS_REGION }} s3-bucket-key-prefix: '@dcl/js-sdk-toolchain/branch/${{ github.head_ref || github.ref }}/@dcl/ecs' + custom-tag: ${{ env.BRANCH_TAG }} + branch-to-custom-tag: ${{ env.BRANCH_TAG }} env: + BRANCH_NAME: ${{ github.ref_name }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} AWS_ACCESS_KEY_ID: ${{ secrets.SDK_TEAM_AWS_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.SDK_TEAM_AWS_SECRET }} @@ -197,7 +207,10 @@ jobs: s3-bucket: ${{ secrets.SDK_TEAM_S3_BUCKET }} s3-bucket-region: ${{ secrets.SDK_TEAM_AWS_REGION }} s3-bucket-key-prefix: '@dcl/js-sdk-toolchain/branch/${{ github.head_ref || github.ref }}/@dcl/react-ecs' + custom-tag: ${{ env.BRANCH_TAG }} + branch-to-custom-tag: ${{ env.BRANCH_TAG }} env: + BRANCH_NAME: ${{ github.ref_name }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} AWS_ACCESS_KEY_ID: ${{ secrets.SDK_TEAM_AWS_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.SDK_TEAM_AWS_SECRET }} @@ -217,7 +230,10 @@ jobs: s3-bucket: ${{ secrets.SDK_TEAM_S3_BUCKET }} s3-bucket-region: ${{ secrets.SDK_TEAM_AWS_REGION }} s3-bucket-key-prefix: '@dcl/js-sdk-toolchain/branch/${{ github.head_ref || github.ref }}/@dcl/inspector' + custom-tag: ${{ env.BRANCH_TAG }} + branch-to-custom-tag: ${{ env.BRANCH_TAG }} env: + BRANCH_NAME: ${{ github.ref_name }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} AWS_ACCESS_KEY_ID: ${{ secrets.SDK_TEAM_AWS_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.SDK_TEAM_AWS_SECRET }} @@ -251,7 +267,10 @@ jobs: s3-bucket: ${{ secrets.SDK_TEAM_S3_BUCKET }} s3-bucket-region: ${{ secrets.SDK_TEAM_AWS_REGION }} s3-bucket-key-prefix: '@dcl/js-sdk-toolchain/branch/${{ github.head_ref || github.ref }}' + custom-tag: ${{ env.BRANCH_TAG }} + branch-to-custom-tag: ${{ env.BRANCH_TAG }} env: + BRANCH_NAME: ${{ github.ref_name }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} AWS_ACCESS_KEY_ID: ${{ secrets.SDK_TEAM_AWS_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.SDK_TEAM_AWS_SECRET }} @@ -292,7 +311,10 @@ jobs: s3-bucket: ${{ secrets.SDK_TEAM_S3_BUCKET }} s3-bucket-region: ${{ secrets.SDK_TEAM_AWS_REGION }} s3-bucket-key-prefix: '@dcl/js-sdk-toolchain/branch/${{ github.head_ref || github.ref }}' + custom-tag: ${{ env.BRANCH_TAG }} + branch-to-custom-tag: ${{ env.BRANCH_TAG }} env: + BRANCH_NAME: ${{ github.ref_name }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} AWS_ACCESS_KEY_ID: ${{ secrets.SDK_TEAM_AWS_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.SDK_TEAM_AWS_SECRET }} @@ -318,7 +340,10 @@ jobs: s3-bucket: ${{ secrets.SDK_TEAM_S3_BUCKET }} s3-bucket-region: ${{ secrets.SDK_TEAM_AWS_REGION }} s3-bucket-key-prefix: '@dcl/js-sdk-toolchain/branch/${{ github.head_ref || github.ref }}' + custom-tag: ${{ env.BRANCH_TAG }} + branch-to-custom-tag: ${{ env.BRANCH_TAG }} env: + BRANCH_NAME: ${{ github.ref_name }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} AWS_ACCESS_KEY_ID: ${{ secrets.SDK_TEAM_AWS_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.SDK_TEAM_AWS_SECRET }}