mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
revert use of action (#8718)
This commit is contained in:
15
.github/workflows/release.yml
vendored
15
.github/workflows/release.yml
vendored
@@ -86,8 +86,6 @@ jobs:
|
|||||||
if: github.event.pull_request.merged == true || 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-*'
|
||||||
name: "Setup"
|
name: "Setup"
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
outputs:
|
|
||||||
AFFECTED_IS_EMPTY: ${{ steps.affected-libs.outputs.affected_is_empty }}
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@@ -103,18 +101,11 @@ jobs:
|
|||||||
npx nx run cli:bundle
|
npx nx run cli:bundle
|
||||||
npx nx run testing:bundle
|
npx nx run testing:bundle
|
||||||
- uses: ./.github/actions/upload-node-modules-and-artifacts
|
- 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:
|
release-demoshell:
|
||||||
needs: [setup]
|
needs: [setup]
|
||||||
timeout-minutes: 15
|
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
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
@@ -140,7 +131,7 @@ jobs:
|
|||||||
release-storybook:
|
release-storybook:
|
||||||
needs: [setup]
|
needs: [setup]
|
||||||
timeout-minutes: 15
|
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
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
@@ -167,7 +158,7 @@ jobs:
|
|||||||
release-npm:
|
release-npm:
|
||||||
needs: [setup]
|
needs: [setup]
|
||||||
timeout-minutes: 30
|
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
|
runs-on: ubuntu-22.04
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
Reference in New Issue
Block a user