question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

public release for GitHub Actions

See original GitHub issue

I 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:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ctaggartcommented, Aug 17, 2019

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 for IsApplicable. GITHUB_REF for BuildingBranch. GITHUB_SHA for GitCommitId. Check GITHUB_EVENT_NAME for PullRequstEvent https://developer.github.com/v3/activity/events/types/ for IsPullRequest.

0reactions
ctaggartcommented, Aug 17, 2019

The test passed! 🚀

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found