public release for GitHub Actions
See original GitHub issueI just merged GitHub Actions build support to master
and I was hoping for a public release version, but no such luck. I’m sure there is a good solution to check the branch and set the PublicRelease
environment variable. Just thought I’d bring it up here.
https://github.com/ctaggart/froto/runs/195699232
Another option may be to configure the checkout differently. I’m not sure yet.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Marketplace Actions Publish Release
A GitHub Action to publish a draft release. actions/create-release can create a draft release, and then actions/upload-release-asset can upload builds and ...
Read more >Releasing and maintaining actions
After you create an action, you'll want to continue releasing new features while working with community contributions. This tutorial describes an example ...
Read more >Publishing actions in GitHub Marketplace
On GitHub.com, navigate to the main page of the repository. · Navigate to the action metadata file in your repository ( action. ·...
Read more >Create a Release in a GitHub Action
This repository is based on GitHub's unmaintained actions/create-release action. We have updated it to use GitHub's current APIs and will be continuing to ......
Read more >Marketplace Actions Publish a Release
Publish an existing draft release This GitHub Action (written in TypeScript) uses the GitHub Release API, specifically the Update a Release endpoint, to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The environment variables are all documented here: https://help.github.com/en/articles/virtual-environments-for-github-actions#environment-variables
For another provider, a
GITHUB_WORKFLOW
forIsApplicable
.GITHUB_REF
forBuildingBranch
.GITHUB_SHA
forGitCommitId
. CheckGITHUB_EVENT_NAME
forPullRequstEvent
https://developer.github.com/v3/activity/events/types/ forIsPullRequest
.The test passed! 🚀