ci(packages): run publish_artifacts on github hosted runner to get sudo

This commit is contained in:
Ivan Dyachkov 2023-08-10 07:58:57 +02:00
parent d1dc37af4c
commit d6476481c9
1 changed files with 3 additions and 3 deletions

View File

@ -264,7 +264,7 @@ jobs:
path: _packages/${{ matrix.profile }}/ path: _packages/${{ matrix.profile }}/
publish_artifacts: publish_artifacts:
runs-on: ${{ inputs.runner }} runs-on: ubuntu-latest
needs: needs:
- mac - mac
- linux - linux
@ -280,7 +280,7 @@ jobs:
name: ${{ matrix.profile }} name: ${{ matrix.profile }}
path: packages/${{ matrix.profile }} path: packages/${{ matrix.profile }}
- name: install dos2unix - name: install dos2unix
run: apt-get update && apt install -y dos2unix run: sudo apt-get update && sudo apt install -y dos2unix
- name: get packages - name: get packages
run: | run: |
set -eu set -eu
@ -300,7 +300,7 @@ jobs:
env: env:
PROFILE: ${{ matrix.profile }} PROFILE: ${{ matrix.profile }}
run: | run: |
set -e -u set -eu
if [ $PROFILE = 'emqx' ]; then if [ $PROFILE = 'emqx' ]; then
s3dir='emqx-ce' s3dir='emqx-ce'
elif [ $PROFILE = 'emqx-enterprise' ]; then elif [ $PROFILE = 'emqx-enterprise' ]; then