在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):octokit/graphql-action开源软件地址(OpenSource Url):https://github.com/octokit/graphql-action开源编程语言(OpenSource Language):JavaScript 100.0%开源软件介绍(OpenSource Introduction):Octokit Request Action
UsageMinimal example name: Log latest release
on:
push:
branches:
- master
jobs:
logLatestRelease:
runs-on: ubuntu-latest
steps:
- uses: octokit/[email protected]
id: get_latest_release
with:
query: |
query release($owner:String!,$repo:String!) {
repository(owner:$owner,name:$repo) {
releases(first:1) {
nodes {
name
createdAt
tagName
description
}
}
}
}
owner: ${{ github.event.repository.owner.name }}
repo: ${{ github.event.repository.name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: "echo 'latest release: ${{ steps.get_latest_release.outputs.data }}'" To access deep values of DebuggingTo see additional debug logs, create a secret with the name: How it works
The actions sets License |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论