exmaple
This commit is contained in:
24
.github/workflows/test-env.yml
vendored
Normal file
24
.github/workflows/test-env.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
name: Prepare Build
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
workflow_dispatch:
|
||||
permissions: {}
|
||||
jobs:
|
||||
prepare:
|
||||
name: Prepare
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Debug Secrets Presence
|
||||
run: |
|
||||
echo "from env S3_AK: ${S3_AK:0:4}****"
|
||||
echo "from env TEST: ${TEST:0:4}****"
|
||||
echo "from direct S3_AK: ${${{ secrets.S3_AK }}:0:4}****"
|
||||
echo "from direct TEST: ${${{ secrets.TEST }}:0:4}****"
|
||||
env:
|
||||
S3_AK: ${{ secrets.S3_AK }}
|
||||
TEST: ${{ secrets.TEST }}
|
||||
Reference in New Issue
Block a user