Skip to content

Commit

Permalink
don't use sudo
Browse files Browse the repository at this point in the history
Signed-off-by: Heinz N. Gies <[email protected]>
  • Loading branch information
Licenser committed Jun 20, 2023
1 parent bc830d5 commit dcb699a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/eqc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,12 @@ jobs:
with:
otp-version: "24"
rebar3-version: "3"
- name: test
run: echo $PATH
- name: find
run: find / -name erl
- name: Install deps
run: sudo apt-get -qy update && sudo apt-get install -y libssl-dev libssl1.1
- name: install yq
run: wget https://github.com/mikefarah/yq/releases/download/v4.20.2/yq_linux_amd64 -O ~/yq && chmod +x ~/yq
- name: install EQC
run: curl -O http://quviq-licencer.com/downloads/eqcR24.zip && unzip eqcR24.zip && cd Quviq* && sudo erl -noshell -eval 'eqc_install:install()' -eval 'init:stop()'
run: curl -O http://quviq-licencer.com/downloads/eqcR24.zip && unzip eqcR24.zip && cd Quviq* && erl -noshell -eval 'eqc_install:install()' -eval 'init:stop()'
- name: Activate EQC
run: test -n "${{secrets.EQC_LICENSE}}" && erl -noshell -eval 'eqc:registration("${{secrets.EQC_LICENSE}}")' -eval "eqc:start()" -eval "init:stop()"
- name: generate yaml
Expand All @@ -61,7 +57,7 @@ jobs:
- name: Install deps
run: sudo apt-get -qy update && sudo apt-get install -y libssl-dev libssl1.1
- name: install EQC
run: curl -O http://quviq-licencer.com/downloads/eqcR24.zip && unzip eqcR24.zip && cd Quviq* && sudo erl -noshell -eval 'eqc_install:install()' -eval 'init:stop()'
run: curl -O http://quviq-licencer.com/downloads/eqcR24.zip && unzip eqcR24.zip && cd Quviq* && erl -noshell -eval 'eqc_install:install()' -eval 'init:stop()'
- name: Activate EQC
run: erl -noshell -eval 'eqc:registration("${{secrets.EQC_LICENSE}}")' -eval "eqc:start()" -eval "init:stop()"
- name: Run
Expand Down

0 comments on commit dcb699a

Please sign in to comment.