-
Notifications
You must be signed in to change notification settings - Fork 49
Moving env vars to org #233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| CARGO_TERM_COLOR=always | ||
| NODE_VERSION=20.x | ||
| PROGRAMS=["mpl-core"] | ||
| RUST_VERSION=1.79.0 | ||
| SOLANA_VERSION=1.18.19 | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -23,9 +23,6 @@ jobs: | |||||||||||||||
| - name: Git checkout | ||||||||||||||||
| uses: actions/checkout@v4 | ||||||||||||||||
|
|
||||||||||||||||
| - name: Load environment variables | ||||||||||||||||
| run: cat .github/.env >> $GITHUB_ENV | ||||||||||||||||
|
|
||||||||||||||||
| - name: Detect changes | ||||||||||||||||
| uses: dorny/paths-filter@v2 | ||||||||||||||||
| id: changes | ||||||||||||||||
|
|
@@ -65,6 +62,9 @@ jobs: | |||||||||||||||
| - name: Git checkout | ||||||||||||||||
| uses: actions/checkout@v4 | ||||||||||||||||
|
|
||||||||||||||||
| - name: Export GitHub vars to GITHUB_ENV | ||||||||||||||||
| run: echo "NODE_VERSION=${{ vars.NODE_VERSION }}" >> $GITHUB_ENV | ||||||||||||||||
|
|
||||||||||||||||
|
Comment on lines
+74
to
+76
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing Rust/Solana version exports in Generate clients job - - name: Export GitHub vars to GITHUB_ENV
- run: echo "NODE_VERSION=${{ vars.NODE_VERSION }}" >> $GITHUB_ENV
+ - name: Export GitHub vars to GITHUB_ENV
+ run: |
+ echo "NODE_VERSION=${{ vars.NODE_VERSION }}" >> $GITHUB_ENV
+ echo "RUST_VERSION=${{ vars.RUST_VERSION }}" >> $GITHUB_ENV
+ echo "SOLANA_VERSION=${{ vars.SOLANA_VERSION }}" >> $GITHUB_ENV📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||
| - name: Load environment variables | ||||||||||||||||
| run: cat .github/.env >> $GITHUB_ENV | ||||||||||||||||
|
|
||||||||||||||||
|
|
||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹 Nitpick (assertive)
Parameterize static values; consider centralizing addresses.
Using
env.SQUADS_MULTISIG,env.BUFFER, and a hardcodedspill-addressis fine, but extracting the static spill address into a repo variable or secret could simplify updates if it ever changes.🤖 Prompt for AI Agents