ci: tmp patch to build linux packages only

This commit is contained in:
Ivan Dyachkov 2024-02-01 17:15:06 +01:00
parent ca0c46e0d5
commit f737eaf1d5
1 changed files with 3 additions and 7 deletions

View File

@ -98,10 +98,9 @@ jobs:
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
if: success() if: success()
with: with:
name: ${{ matrix.profile }}-${{ matrix.otp }}-${{ matrix.os }} name: ${{ matrix.profile }}
path: _packages/${{ matrix.profile }}/ path: _packages/${{ matrix.profile }}/
retention-days: 7 retention-days: 7
compression-level: 0
linux: linux:
runs-on: [self-hosted, ephemeral, linux, "${{ matrix.arch }}"] runs-on: [self-hosted, ephemeral, linux, "${{ matrix.arch }}"]
@ -195,15 +194,13 @@ jobs:
fi fi
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with: with:
name: ${{ matrix.profile }}-${{ matrix.otp }}-${{ matrix.arch }}-${{ matrix.os }}-${{ matrix.with_elixir == 'yes' && 'elixir' || 'erlang' }} name: ${{ matrix.profile }}
path: _packages/${{ matrix.profile }}/ path: _packages/${{ matrix.profile }}/
retention-days: 7 retention-days: 7
compression-level: 0
publish_artifacts: publish_artifacts:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: needs:
- mac
- linux - linux
if: inputs.publish == 'true' || inputs.publish if: inputs.publish == 'true' || inputs.publish
strategy: strategy:
@ -214,9 +211,8 @@ jobs:
steps: steps:
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2 - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
with: with:
pattern: ${{ matrix.profile }}-* name: ${{ matrix.profile }}
path: packages/${{ matrix.profile }} path: packages/${{ matrix.profile }}
merge-multiple: true
- name: install dos2unix - name: install dos2unix
run: sudo apt-get update -y && sudo apt install -y dos2unix run: sudo apt-get update -y && sudo apt install -y dos2unix
- name: get packages - name: get packages