Skip to content

chore(deps): update dependency boto3 to v1.35.90 #2495

chore(deps): update dependency boto3 to v1.35.90

chore(deps): update dependency boto3 to v1.35.90 #2495

name: pull-request-and-push-to-main
on:
pull_request:
types:
- opened # default
- synchronize # default
- reopened # default
push:
branches:
- main
jobs:
option1:
runs-on: ubuntu-latest
steps:
- uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # v4
- name: Set upload config
id: set-conf
run: |
if [[ "${{ github.event_name }}" = "pull_request" ]]; then
echo "ENV=dev" >> "$GITHUB_OUTPUT"
else
echo "ENV=prod" >> "$GITHUB_OUTPUT"
fi
- name: Process
run: |
echo "${{ steps.set-conf.outputs.ENV }}"
option2:
runs-on: ubuntu-latest
steps:
- uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # v4
- name: Set upload config
if: github.event_name == 'pull_request'
id: set-conf-dev
run: |
echo "ENV=dev" >> "$GITHUB_OUTPUT"
- name: Set upload config
if: github.event_name == 'push'
id: set-conf-prod
run: |
echo "ENV=prod" >> "$GITHUB_OUTPUT"
- name: Process
run: |
echo "${{ steps.set-conf-dev.outputs.ENV || steps.set-conf-prod.outputs.ENV }}"