Skip to content

Update blank.yml

Update blank.yml #5

Workflow file for this run

name: Example Workflow with Secret
on:
push:
branches:
- Run0nceEx-test
jobs:
example-job:
runs-on: ubuntu-latest
env:
MY_SECRET: ${{ secrets.OPENAI_KEY }} # 使用 GitHub Secret
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Print secret
run: echo "My secret is $MY_SECRET" # 在脚本中使用 GitHub Secret