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