kaliber5 / action-get-release Goto Github PK
View Code? Open in Web Editor NEWGet a Github release
License: MIT License
Get a Github release
License: MIT License
I am considering using this action to simply pull the latest release upload_url for another task. When I try to use it, all output properties are visible except for the one I need.
Here is the workflow:
name: Get Latest Release
on: [push, repository_dispatch, workflow_dispatch]
jobs:
build:
name: FindLatestRelease
runs-on: windows-latest
steps:
- name: Get latest release
id: latest_release
uses: kaliber5/action-get-release@v1
with:
token: ${{ github.token}}
latest: true
#owner: fiddlermikey
#repo: githubscripting
- name: Echo Values
run: |
echo "ID: ${{ steps.latest_release.outputs.id}}"
echo "URL: ${{ steps.latest_release.outputs.url}}"
echo "HTML URL: ${{ steps.latest_release.outputs.html_url}}"
echo "Assets URL: ${{ steps.latest_release.outputs.assets_url}}"
echo "upload_url: ${{ steps.latest_release.output.upload_url}}"
echo "Name: ${{ steps.latest_release.outputs.name}}"
echo "Tag: ${{ steps.latest_release.outputs.tag_name}}"
And the Log/results: (note the missing upload_url property)
ID: 70912854
URL: https://api.github.com/repos/fiddlermikey/githubscripting/releases/70912854
HTML URL: https://github.com/fiddlermikey/githubscripting/releases/tag/1.0.0
Assets URL: https://api.github.com/repos/fiddlermikey/githubscripting/releases/70912854/assets
upload_url:
Name: 1.0.0
Tag: 1.0.0
Hi
The warning as below:
The
set-outputcommand is deprecated and will be disabled soon. Please upgrade to using Environment Files.
Cloud you please help fix this issue?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.