Skip to content

Commit

Permalink
no hard-coded versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mraszyk committed Oct 8, 2024
1 parent 6da3bdb commit e6b5b35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ runs:
shell: sh
run: |
if [ "${{ inputs.pocket-ic-server-version }}" = "latest" ]; then
export POCKET_IC_VERSION="6.0.0"
export POCKET_IC_VERSION="$(curl -s https://api.github.com/repos/dfinity/pocketic/releases/latest | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')"
else
export POCKET_IC_VERSION="${{ inputs.pocket-ic-server-version }}"
fi
Expand Down

0 comments on commit e6b5b35

Please sign in to comment.