测试密钥和变量 #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 测试密钥和变量 | ||
on: | ||
workflow_dispatch: #github页面手动触1发 | ||
jobs: | ||
get-tags: | ||
runs-on: ubuntu-20.04 | ||
env: | ||
TZ: Asia/Shanghai | ||
outputs: | ||
tags: ${{ steps.set-output-id.outputs.tags }} | ||
steps: | ||
- name: 读取变量 | ||
id: set-output-id | ||
run: | | ||
VERSION=bubbles | ||
echo "版本号:${{ env.TZ }}" | ||
echo "版本号:${{ env.DOCKER_IMAGE_NAME }}" | ||
- name: 读取密钥 | ||
id: set-output-id-2 | ||
run: | | ||
Check failure on line 21 in .github/workflows/test.yml GitHub Actions / 测试密钥和变量Invalid workflow file
|
||
VERSION=bubbles | ||
echo "版本号:${{ secrects.GH_TOKEN }}" |