Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace deprecated command with environment file #2633

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
id: get-version
run: |
current_version=$(.github/script/get-current-version)
echo "::set-output name=version-number::$((${current_version%%.*} - 1))"
echo "version-number=$((${current_version%%.*} - 1))" >> $GITHUB_OUTPUT


browser-compatibility-audio-previous-major-version:
Expand Down Expand Up @@ -304,4 +304,4 @@ jobs:
- name: Install Axios
run: npm install axios
- name: Send Slack Message
run: node .github/script/send-test-report.js ${{ secrets.SLACK_JS_SDK_DEV_CORE_PREV_VER_WEBHOOK }} ${{ env.WORKFLOW_URL}} ${{ env.WORKFLOW_JOBS_STATUS }}
run: node .github/script/send-test-report.js ${{ secrets.SLACK_JS_SDK_DEV_CORE_PREV_VER_WEBHOOK }} ${{ env.WORKFLOW_URL}} ${{ env.WORKFLOW_JOBS_STATUS }}
20 changes: 10 additions & 10 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
run: |
source ${GITHUB_WORKSPACE}/integration/js/script/need-integ-test
check_if_integ_tests_required
echo ::set-output name=integ_test_required::$requires_integration_test
echo "integ_test_required=$requires_integration_test" >> $GITHUB_OUTPUT
- name: Setup GitHub Actions Host
if: steps.test_needed.outputs.integ_test_required == 'true'
uses: ./.github/actions/setup-integration-test
Expand All @@ -71,7 +71,7 @@
run: |
source ${GITHUB_WORKSPACE}/integration/js/script/need-integ-test
check_if_integ_tests_required
echo ::set-output name=integ_test_required::$requires_integration_test
echo "integ_test_required=$requires_integration_test" >> $GITHUB_OUTPUT
- name: Setup GitHub Actions Host
if: steps.test_needed.outputs.integ_test_required == 'true'
uses: ./.github/actions/setup-integration-test
Expand All @@ -97,7 +97,7 @@
run: |
source ${GITHUB_WORKSPACE}/integration/js/script/need-integ-test
check_if_integ_tests_required
echo ::set-output name=integ_test_required::$requires_integration_test
echo "integ_test_required=$requires_integration_test" >> $GITHUB_OUTPUT
- name: Setup GitHub Actions Host
if: steps.test_needed.outputs.integ_test_required == 'true'
uses: ./.github/actions/setup-integration-test
Expand Down Expand Up @@ -126,7 +126,7 @@
run: |
source ${GITHUB_WORKSPACE}/integration/js/script/need-integ-test
check_if_integ_tests_required
echo ::set-output name=integ_test_required::$requires_integration_test
echo "integ_test_required=$requires_integration_test" >> $GITHUB_OUTPUT
- name: Setup GitHub Actions Host
if: steps.test_needed.outputs.integ_test_required == 'true'
uses: ./.github/actions/setup-integration-test
Expand Down Expand Up @@ -154,7 +154,7 @@
run: |
source ${GITHUB_WORKSPACE}/integration/js/script/need-integ-test
check_if_integ_tests_required
echo ::set-output name=integ_test_required::$requires_integration_test
echo "integ_test_required=$requires_integration_test" >> $GITHUB_OUTPUT
- name: Setup GitHub Actions Host
if: steps.test_needed.outputs.integ_test_required == 'true'
uses: ./.github/actions/setup-integration-test
Expand Down Expand Up @@ -183,7 +183,7 @@
run: |
source ${GITHUB_WORKSPACE}/integration/js/script/need-integ-test
check_if_integ_tests_required
echo ::set-output name=integ_test_required::$requires_integration_test
echo "integ_test_required=$requires_integration_test" >> $GITHUB_OUTPUT
- name: Setup GitHub Actions Host
if: steps.test_needed.outputs.integ_test_required == 'true'
uses: ./.github/actions/setup-integration-test
Expand Down Expand Up @@ -215,7 +215,7 @@
run: |
source ${GITHUB_WORKSPACE}/integration/js/script/need-integ-test
check_if_integ_tests_required
echo ::set-output name=integ_test_required::$requires_integration_test
echo "integ_test_required=$requires_integration_test" >> $GITHUB_OUTPUT
- name: Setup GitHub Actions Host
if: steps.test_needed.outputs.integ_test_required == 'true'
uses: ./.github/actions/setup-integration-test
Expand All @@ -241,7 +241,7 @@
run: |
source ${GITHUB_WORKSPACE}/integration/js/script/need-integ-test
check_if_integ_tests_required
echo ::set-output name=integ_test_required::$requires_integration_test
echo "integ_test_required=$requires_integration_test" >> $GITHUB_OUTPUT
- name: Setup GitHub Actions Host
if: steps.test_needed.outputs.integ_test_required == 'true'
uses: ./.github/actions/setup-integration-test
Expand All @@ -267,7 +267,7 @@
run: |
source ${GITHUB_WORKSPACE}/integration/js/script/need-integ-test
check_if_integ_tests_required
echo ::set-output name=integ_test_required::$requires_integration_test
echo "integ_test_required=$requires_integration_test" >> $GITHUB_OUTPUT
- name: Setup GitHub Actions Host
if: steps.test_needed.outputs.integ_test_required == 'true'
uses: ./.github/actions/setup-integration-test
Expand All @@ -278,4 +278,4 @@
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Run Video Test App Integ Test
if: steps.test_needed.outputs.integ_test_required == 'true'
run: npm run test:integration-video-test-app
run: npm run test:integration-video-test-app
4 changes: 2 additions & 2 deletions .github/workflows/prev-version-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: |
prev_version=$(.github/script/get-prev-version)
echo "Previous version:" $prev_version
echo ::set-output name=prev_version::$prev_version
echo "prev_version=$prev_version" >> $GITHUB_OUTPUT
- name: Create a Job ID
id: create-job-id
uses: filipstefansson/uuid-action@ce29ebbb0981ac2448c2e406e848bfaa30ddf04c
Expand Down Expand Up @@ -81,4 +81,4 @@ jobs:
- name: Setup userArn
run: integration/js/script/test-setup
- name: Run Messaging Integration Test
run: npm run test:integration-messaging
run: npm run test:integration-messaging
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: |
npm_publish_tag=$(.github/script/get-npm-tag.js)
echo "Received NPM publish tag:" $npm_publish_tag
echo ::set-output name=npm_tag::$npm_publish_tag
echo "npm_tag=$npm_publish_tag" >> $GITHUB_OUTPUT
- name: Publish to NPM with tag
run: npm publish --tag ${{ steps.npm_tag.outputs.npm_tag }}
env:
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
if [[ *$npm_version* = *$current_version* ]]
then
echo "Version is published to npm:" $current_version
echo ::set-output name=npm_version::$current_version
echo "npm_version=$current_version" >> $GITHUB_OUTPUT
break
fi

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-backwards-compatiblity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
fetch-depth: 0
- name: Version check for backward compatibility check
id: version-check
run: echo "::set-output name=run-check::$(node .github/script/backward-compatibility-run-check.js)"
run: echo "run-check=$(node .github/script/backward-compatibility-run-check.js)" >> $GITHUB_OUTPUT

release-integ-test:
name: Run Backwards Compatible Integration Tests with Release Tarball
Expand Down Expand Up @@ -90,4 +90,4 @@ jobs:
- name: Setup userArn
run: integration/js/script/test-setup
- name: Run Messaging Integration Test
run: npm run test:integration-messaging
run: npm run test:integration-messaging