diff --git a/.github/actions/artifact-append/action.yml b/.github/actions/artifact-append/action.yml index 146ccacb67a..72af186b112 100644 --- a/.github/actions/artifact-append/action.yml +++ b/.github/actions/artifact-append/action.yml @@ -22,9 +22,11 @@ runs: - run: echo "Artifact Append" shell: bash - name: Download artifact - uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0 + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 with: name: ${{ inputs.artifact-name }} + pattern: ${{ inputs.artifact-name }}-* + merge-multiple: true - run: ls shell: bash - name: Append content @@ -83,7 +85,7 @@ runs: } } - name: Upload artifact - uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0 + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 with: name: ${{ inputs.artifact-name }} path: ${{ inputs.file-name }} diff --git a/.github/actions/artifact-extract/action.yml b/.github/actions/artifact-extract/action.yml index 33b05f701c3..1008d85aeb4 100644 --- a/.github/actions/artifact-extract/action.yml +++ b/.github/actions/artifact-extract/action.yml @@ -28,9 +28,11 @@ runs: - run: echo "Artifact Extract" shell: bash - name: Download artifact - uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0 + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 with: name: ${{ inputs.artifact-name }} + pattern: ${{ inputs.artifact-name }}-* + merge-multiple: true - id: extract shell: bash run: | diff --git a/.github/actions/artifact-initialize/action.yml b/.github/actions/artifact-initialize/action.yml index 9867b48187f..b06193eb375 100644 --- a/.github/actions/artifact-initialize/action.yml +++ b/.github/actions/artifact-initialize/action.yml @@ -22,11 +22,11 @@ runs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Create empty artifact shell: bash - run: + run: echo "${{inputs.content}}" > ${{ inputs.file-name }} - name: Upload artifact - uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0 + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 with: name: ${{ inputs.artifact-name }} path: ${{ inputs.file-name }} diff --git a/.github/actions/e2e/action.yml b/.github/actions/e2e/action.yml index b3fd168e5f9..61bc1b1ae8e 100644 --- a/.github/actions/e2e/action.yml +++ b/.github/actions/e2e/action.yml @@ -177,14 +177,14 @@ runs: if: ${{ steps.determine-affected.outputs.isAffected == 'true' && github.event_name == 'schedule' && failure() }} uses: ./.github/actions/artifact-append with: - artifact-name: global-e2e-result + artifact-name: "global-e2e-result-${{ inputs.e2e-test-id }}" file-name: e2e-failures.txt content: "${{ inputs.e2e-test-id }}" - name: upload artifacts on gh id: upload_gh if: ${{ steps.determine-affected.outputs.isAffected == 'true' }} - uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0 + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 with: name: e2e-artifact-output path: /home/runner/work/alfresco-ng2-components/alfresco-ng2-components/e2e-output-* diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 6970f896678..f70b31dd994 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -490,7 +490,7 @@ jobs: if: ${{ github.event_name == 'schedule' }} uses: ./.github/actions/artifact-extract with: - artifact-name: global-e2e-result + artifact-name: "global-e2e-result-${{ matrix.e2e-test.test-id }}" file-name: e2e-failures.txt - name: identify-slack-group id: groups diff --git a/lib/core/custom-theme/theme/custom-palette-creator.scss b/lib/core/custom-theme/theme/custom-palette-creator.scss index 82128075306..54730f2fca1 100644 --- a/lib/core/custom-theme/theme/custom-palette-creator.scss +++ b/lib/core/custom-theme/theme/custom-palette-creator.scss @@ -3,9 +3,9 @@ @use 'sass:color'; @function multiply($fore, $back) { - $red: color.red($back) * color.red($fore) / 255; - $green: color.green($back) * color.green($fore) / 255; - $blue: color.blue($back) * color.blue($fore) / 255; + $red: math.div(color.red($back) * color.red($fore), 255); + $green: math.div(color.green($back) * color.green($fore), 255); + $blue: math.div(color.blue($back) * color.blue($fore), 255) @return rgb($red, $green, $blue); } @@ -19,12 +19,12 @@ @each $name, $value in $colors { $adjusted: 0; - $value: $value / 255; + $value: math.div($value, 255); @if ($value < 0.0393) { - $value: $value / 12.92; + $value: math.div($value, 12.92); } @else { - $value: ($value + 0.055) / 1.055; + $value: math.div($value + 0.055, 1.055); $value: math.pow($value, 2.4); }