Comments (7)
This sounds like a good addition to this action. I can add the tag_name
of a release to the output, as it is readily available.
from release-downloader.
@fiddlermikey I just merged a PR which adds the tag_name
output variable to this action. You may use it from the main
branch as follows
- uses: robinraju/release-downloader@a2560d77c56d90bc684e42df51576a951cd49b86
with:
latest: true
fileName: "foo.zip"
it can be accessed as follows
${{steps.<step-id>.outputs.tag_name}}
I'll publish a new version once you confirm it works as expected.
from release-downloader.
I am getting the following error:
Error: unable to verify the first certificate when using release-downloader@main
Reverting back to 1.4 the error went away
name: Get Latest Release
on: [push, repository_dispatch, workflow_dispatch]
jobs:
build:
name: FindLatestRelease
runs-on: windows-latest
steps:
- name: Download Release Asset
id: downloadAsset
uses: robinraju/release-downloader@[main | v1.4]
with:
repository: ${{ github.repository }}
token: ${{ github.token }}
latest: true
fileName: "*.zip"
github-api-url: "https://keyfactor.com/api/v3"
- name: debug output
run: |
echo "latestReleaseTag = ${{ steps.downloadAsset.outputs.tag_name }}"
from release-downloader.
A similar issue with a solution described here: https://stackoverflow.com/questions/71658093/github-actions-self-hosted-runner-error-unable-to-verify-the-first-certificate
Can you try that and see if it works.
And more here: https://github.com/actions/runner/blob/main/docs/checks/sslcert.md
from release-downloader.
The first link is to a solution for self-hosted runners behind a firewall and the second requires access to the runner OS configuration and I am using the github hosted windows-latest runner and do not have the option to mess with the configuration.
from release-downloader.
I am using the github hosted windows-latest runner
in that case its not required to use the github-api-url: "https://keyfactor.com/api/v3"
param.
this option is only for github enterprise hosted on a custom domain.
This option is required if the target repo is hosted on GH enterprise. Unfortunately, I haven't used GH enterprise, and this action is not tested against a real one.
from release-downloader.
Hi @robinraju Can you create a new release ? I'm not able to use tag_name
in the latest release.
from release-downloader.
Related Issues (20)
- out-file-path and fileName seems to be mutually exclusive HOT 2
- Ability to specify release ID instead of tag HOT 5
- Can this action support for github app token? HOT 2
- Download prereleases? HOT 5
- Failing to run latest when fileName is not `release.tar.gz` HOT 5
- Throw exception if release is found but no files are included
- Add support to extract release archives HOT 2
- [Feature request] add download filename(s) to outputs variable HOT 2
- Error: [getReleaseByTag] Unexpected response: 401 HOT 2
- Output version name HOT 1
- Doesnt work with GitHub enterprise server url
- "extract" from zip archive does not preserve permissions on Linux HOT 1
- Downloaded file contents are incorrect starting with version 1.9 HOT 5
- 1.9 version seems to have broken the extract functionality HOT 6
- Error: No assets found in release HOT 3
- No assets found in release HOT 7
- Downloading the 2nd, 3rd, nth latest release?
- Extract with skipping file names validation
- extract .xz files
- Can remove original files after extracting archives?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from release-downloader.