Skip to content

Commit ee2ca59

Browse files
authored
fix: github server url ref (#412)
1 parent 6010942 commit ee2ca59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,15 +225,15 @@ runs:
225225
openssl enc -aes-256-ctr -pbkdf2 -salt -in "$path" -out "$path.encrypted" -pass file:"$temp_file"
226226
mv "$path.encrypted" "$path"
227227
228-
- if: ${{ inputs.command == 'plan' && env.GITHUB_SERVER_URL == 'https://github.com' }}
228+
- if: ${{ inputs.command == 'plan' && github.server_url == 'https://github.com' }}
229229
id: upload
230230
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
231231
with:
232232
name: ${{ steps.identifier.outputs.name }}
233233
path: ${{ format('{0}{1}tfplan', inputs.arg-chdir || inputs.working-directory, (inputs.arg-chdir || inputs.working-directory) && '/' || '') }}
234234
overwrite: true
235235

236-
- if: ${{ inputs.command == 'plan' && env.GITHUB_SERVER_URL != 'https://github.com' }}
236+
- if: ${{ inputs.command == 'plan' && github.server_url != 'https://github.com' }}
237237
id: upload-v3
238238
uses: actions/upload-artifact@c24449f33cd45d4826c6702db7e49f7cdb9b551d # v3.2.1-node20
239239
with:

0 commit comments

Comments
 (0)