Skip to content

Commit

Permalink
Use explicit git tags for osqp and osqp-matlab repo clones.
Browse files Browse the repository at this point in the history
  • Loading branch information
rdzman committed Sep 12, 2023
1 parent d8f9f30 commit 78af6b7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@ runs:
# expects that Octave has already been installed
- name: Build OSQP
run: |
export OSQP_TAG=v0.6.2
export OSQP_MATLAB_TAG=master
export OSQP_PATH=$HOME/build/osqp-matlab
${{ inputs.cached }} && echo "cached - skip build" || echo "Not cached - build it"
! ${{ inputs.cached }} && [ ! -d $HOME/build ] && mkdir -p $HOME/build
! ${{ inputs.cached }} && cd $HOME/build
! ${{ inputs.cached }} && git clone --recursive https://github.com/oxfordcontrol/osqp
! ${{ inputs.cached }} && git clone --recurse-submodules https://github.com/oxfordcontrol/osqp-matlab
! ${{ inputs.cached }} && git clone -b ${OSQP_TAG} --recursive https://github.com/oxfordcontrol/osqp
! ${{ inputs.cached }} && git clone -b ${OSQP_MATLAB_TAG} --recurse-submodules https://github.com/oxfordcontrol/osqp-matlab
! ${{ inputs.cached }} && mkdir -p $HOME/build/osqp/build
! ${{ inputs.cached }} && [ ! -d $HOME/install ] && mkdir -p $HOME/install
! ${{ inputs.cached }} && cd $HOME/build/osqp/build
Expand Down

0 comments on commit 78af6b7

Please sign in to comment.