Fixing if check
@@ -17,14 +17,14 @@ jobs:
uses: actions/checkout@v3
- name: Change version for Beta release
- if: ${{ contains(inputs.go_algorand_version, "-beta") }}
+ if: contains(inputs.go_algorand_version, '-beta')
run: |
cd docs/get-details/algorand-networks
sed -i.bak 's/v.*-beta/${{ inputs.go_algorand_version }}/' betanet.md
rm betanet.md.bak
- name: Change version for Stable release
- if: ${{ contains(inputs.go_algorand_version, "-stable") }}
+ if: contains(inputs.go_algorand_version, '-stable')
run: |
cd docs/get-details/algorand-networks
sed -i.bak 's/v.*-stable/${{ inputs.go_algorand_version }}/' testnet.md
