Skip to content

Commit

Permalink
Updating workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
blockiosaurus committed Jun 23, 2024
1 parent 7848ff5 commit 24a972f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/file-filters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ program_common: &program_common
- ".github/file-filters.yml"
- ".github/.env"

mpl_core_program: &mpl_core_program
mpl_hybrid_program: &mpl_hybrid_program
- *program_common
- "programs/mpl-core/**"
- "programs/mpl-hybrid/**"

programs: &programs
- *mpl_core_program
- *mpl_hybrid_program

# Clients.

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-rust-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,5 @@ jobs:
with:
name: rust-client-builds
# First wildcard ensures exported paths are consistently under the clients folder.
path: ./targe*/release/*mpl_core*
path: ./targe*/release/*mpl_hybrid*
if-no-files-found: error
8 changes: 4 additions & 4 deletions .github/workflows/deploy-program.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ on:
program:
description: Program
required: true
default: core
default: hybrid
type: choice
options:
- core
- hybrid
cluster:
description: Cluster environment
required: true
Expand Down Expand Up @@ -137,8 +137,8 @@ jobs:
run: |
echo "Deploying ${{ inputs.program }} to ${{ inputs.cluster }}"
echo ${{ secrets.CORE_DEPLOYER_KEY }} > ./deployer-key.json
echo ${{ secrets.CORE_ID }} > ./program-id.json
echo ${{ secrets.HYBRID_DEPLOYER_KEY }} > ./deployer-key.json
echo ${{ secrets.HYBRID_ID }} > ./program-id.json
solana -v program deploy ./programs/.bin/mpl_${{ inputs.program }}_program.so \
-u ${{ env.RPC }} \
Expand Down

0 comments on commit 24a972f

Please sign in to comment.