Skip to content

Commit

Permalink
version name, idl name
Browse files Browse the repository at this point in the history
  • Loading branch information
nhanphan committed Apr 9, 2024
1 parent 066eb7d commit e79aa70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-program.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
- name: Determine program version
run: |
IDL_NAME="mpl_${{ inputs.program }}_program"
IDL_NAME="mpl_${{ inputs.program }}"
VERSION=`jq '.version' ./idls/${IDL_NAME}.json | sed 's/"//g'`
MAJOR=`echo ${VERSION} | cut -d. -f1`
MINOR=`echo ${VERSION} | cut -d. -f2`
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
rm ./program-id.json
- name: Version program
working-directory: ./programs/${{ inputs.program }}/program
working-directory: ./programs/mpl-${{ inputs.program }}/program
if: github.event.inputs.version_program == 'true'
run: |
git stash
Expand Down

0 comments on commit e79aa70

Please sign in to comment.