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

[AAE-15422] revert use of action #8718

Merged
merged 1 commit into from
Jun 28, 2023
Merged
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
15 changes: 3 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ jobs:
if: github.event.pull_request.merged == true || github.ref_name == 'master' || github.ref_name == 'master-patch-*'
name: "Setup"
runs-on: ubuntu-22.04
outputs:
AFFECTED_IS_EMPTY: ${{ steps.affected-libs.outputs.affected_is_empty }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -103,18 +101,11 @@ jobs:
npx nx run cli:bundle
npx nx run testing:bundle
- uses: ./.github/actions/upload-node-modules-and-artifacts
- name: determine affected code
id: affected-libs
uses: ./.github/actions/print-affected-libs
if: github.event.pull_request.merged == true
with:
base: HEAD~1
head: HEAD

release-demoshell:
needs: [setup]
timeout-minutes: 15
if: (github.event.pull_request.merged == true && ${{ needs.setup.outputs.AFFECTED_IS_EMPTY == 'false' }} ) || github.ref_name == 'master' || github.ref_name == 'master-patch-*'
if: github.event.pull_request.merged == true || github.ref_name == 'master' || github.ref_name == 'master-patch-*'
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
Expand All @@ -140,7 +131,7 @@ jobs:
release-storybook:
needs: [setup]
timeout-minutes: 15
if: (github.event.pull_request.merged == true && ${{ needs.setup.outputs.AFFECTED_IS_EMPTY == 'false' }} ) || github.ref_name == 'master' || github.ref_name == 'master-patch-*'
if: github.event.pull_request.merged == true || github.ref_name == 'master' || github.ref_name == 'master-patch-*'
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
Expand All @@ -167,7 +158,7 @@ jobs:
release-npm:
needs: [setup]
timeout-minutes: 30
if: (github.event.pull_request.merged == true && ${{ needs.setup.outputs.AFFECTED_IS_EMPTY == 'false' }} ) || github.ref_name == 'master' || github.ref_name == 'master-patch-*'
if: github.event.pull_request.merged == true || github.ref_name == 'master' || github.ref_name == 'master-patch-*'
runs-on: ubuntu-22.04
permissions:
contents: read
Expand Down
Loading