gpt4 book ai didi

github-actions - 如何在 github 操作中创建随机 uuid

转载 作者:行者123 更新时间:2023-12-05 02:05:46 24 4
gpt4 key购买 nike

如何从 github 操作创建随机 uuid?我发现了一个创建随机 uuid 的第三方 github 操作,但我希望有一些 native 操作已经支持这种情况。

最佳答案

作为对@riQQ 答案的改进

name: Test linux job
on:
push

jobs:
testJob:
name: Test
runs-on: ubuntu-latest
steps:
- name: Get uuid
id: uuid
run: |
echo "::set-output name=uuid::$(uuidgen)"

关于github-actions - 如何在 github 操作中创建随机 uuid,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63159544/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com