Giter VIP home page Giter VIP logo

action-get-release's People

Contributors

dependabot[bot] avatar simonihmig avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

action-get-release's Issues

Cannot access upload_url output property

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.