action-release | GitHub Action for creating a release on Sentry | Continous Integration library
kandi X-RAY | action-release Summary
kandi X-RAY | action-release Summary
GitHub Action for creating a release on Sentry
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of action-release
action-release Key Features
action-release Examples and Code Snippets
Community Discussions
Trending Discussions on action-release
QUESTION
I usually hide my API key in an XML file and use .gitignore
along with getString()
to retrieve my API key.
I'm trying to use Github Actions to automate Gradle build and Release of debug apk's. Due to the XML file not being uploaded to the repo, it obviously fails.
Is there any way to store my key in Github Secrets and then replace the code with the secret?
Current code: headers["token"]= getString(R.string.token)
Replaced code in Github actions server : headers["token"]="MY_API_KEY_FROM_SECRETS"
Here's my YAML file that I was using:
...ANSWER
Answered 2020-Apr-03 at 19:54Sure, this is possible. You haven't said what file you'd like modified, but this should be easy enough to do with a one-liner (replacing FILENAME
with your config file name):
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install action-release
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page