create-release | An Action to create releases via the GitHub Release API | Continous Integration library
kandi X-RAY | create-release Summary
kandi X-RAY | create-release Summary
An Action to create releases via the GitHub Release API
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 create-release
create-release Key Features
create-release Examples and Code Snippets
Community Discussions
Trending Discussions on create-release
QUESTION
I'm getting a 404 trying to access my azurewebsite.net
My Resource group contains an AppServicePlan, an AppService, SQL Server & SQL Database, a KeyVault & SignalR.
Locally everything works, the AppService is running, AppServicePlan is Ready (1App/0Slots), Connected Services for SignalR & SQL are configured (in the menu you get when right-clicking WebProject > Publish). KeyVault is configured & accessible. Not sure if these are problem free though, as I keep getting NuGet Errors, stating unable to update NuGet Package.
When I right-click my WebProject & Publish, I get Message Publish has been succeeded. But when I click on the link, I get a 404.
I'm working with two pipelines in AzureDevops
Seeing as official documentation is always lagging behind and showing older interfaces, it has not been much of a help. I followed https://docs.microsoft.com/en-us/learn/modules/create-release-pipeline/5-deploy-to-appservice this tutorial, did everything stated, but the last step, I didn't get the desired result (an accessible website through azurewebsites.net).
I have a Export template with all connected services configured (I guess generated by azure?) but don't really know what to do with it.
Can anybody pinpoint what I am missing or doing wrong? Or tell me what else I would be needing, apart from the services I mentioned (like Certificates, Active Directory?) Do I need a gitHub repo next to AzureDevOps Repo & Azure Resources? Does publishing via VS interfere with my automated pipelinebuilds?
Thanks!
...ANSWER
Answered 2021-Feb-12 at 08:37You can try to deploy to Azure App Service in Azure DevOps directly. I used the sample you shared and worked well on my side. Here are my steps:
1.Create the App Service instance in Azure and make sure the default home page is correct.
2.Clone the sample from GitHub to Azure DevOps Repo.
3.Change the deploy stage in the azure-pipelines.yml file on release branch and run pipeline. I removed variable groups and changed the configuration of AzureWebApp task:
4.Browse the page in Azure. I can get the same page as in the tutorial.
QUESTION
I am trying to create a GitHub Action that is triggered when a release is published and will build my project and upload certain artefacts as release assets. The only examples I can find rely on using the create-release
action, which fails as the release has already been created. My workflow file is like so:
ANSWER
Answered 2020-Dec-31 at 19:34You can access it on the event data in the github
context:
QUESTION
I want to upload a artifact to latest release... without creating a new release.
I started with github official action upload-release-asset to upload artifact.
It requires a upload_url as an input which tells it the url of release.
Which is generally taken from creating a release in previous step with create-release action.
I tried to print output url from create_release-
...ANSWER
Answered 2020-Jul-15 at 12:58I started with github official action upload-release-asset to upload artifact. It requires a upload_url as an input which tells it the url of release. Which is generally taken from creating a release in previous step with create-release action.
QUESTION
I have a GitHub workflow for releasing nightly snapshots of the repository. It uses the create-release action. This is how the workflow file looks right now:
...ANSWER
Answered 2020-Mar-31 at 02:18From this post you can create a step that set its output with the value $(date +'%Y-%m-%d')
Then use this output using ${{ steps.date.outputs.date }}
. The following show an example for environment variables and for inputs :
QUESTION
I have a workflow where after a push to master I want to create a release and upload an asset to it.
I'm using actions/create-release@v1
and actions/upload-release-asset@v1
.
I would like to pass the outputs of a bash commands to the action parameters. However I found out the syntax of "$(command)" does not work.
How can I pass the output of a bash command to an action's parameter.
For example I'd like to do something like this:
...ANSWER
Answered 2020-Apr-16 at 19:26I would create an environment variable based of your command output:
QUESTION
Currently on my GitHub repository, I have the following workflow that releases a nightly snapshot every day, and uses the current date as release name and tag name:
...ANSWER
Answered 2020-Apr-03 at 19:15I found this GitHub action that tags on demand. Using it, my workflow can be revised as such:
QUESTION
Background
I'm writing a Github action to upload build artefacts on every new tag created. This have turned out to be fairly strait forward to do.
However I wanted to upload the different variants as separate files to github's release page but couldn't figure out how to use a wildcard for this, and resorted to duplicating this sections with hardcoded filenames instead. To duplicate code with hardcoded filenames is error prone and not very future safe.
I guess the question maybe boils down to how yml works: Could this have been done shorter with some kind of a loop or wildcard?
This is the long code I ended up with:
...ANSWER
Answered 2020-Feb-06 at 11:31Could this have been done shorter with some kind of a loop or wildcard?
Yes, but not without investing some time to write code, which will probably cause you more work than it will save you.
GitHub Actions itself does not support anything like loops according to the official documentation. This means that if you want to shorten the file, you need to write the code expanding the file yourself and apply it to the file before using it with GitHub Actions.
You could go the way several other YAML-based tools (e.g. Ansible) go and use Python's Jinja2 templating engine to write loops. However, this is very awkward since you'll need to escape the GH Actions expressions as they use similar syntax.
Probably a better way to go would be to create the data structure in Python (or any other scripting language that has YAML support) and dump it as YAML.
I wouldn't recommend any of those approaches because of the entropy they add to your setup but it's definitely possible.
QUESTION
I'm trying to write a workflow to have my GitHub project release populated by the tag creation workflow.
I already know how to create the release (using actions/create-release@v1.0.0
) and how to push an artifact in the release (using actions/upload-release-asset
).
But, since I'm building Rust code, I ahve to compile it on different platforms. Obviously, for that, I have one job per platform and I'm trying to push my artifact in that job.
But for the push to work, I have to use the release identifier given by actions/create-release@v1.0.0
, which run in another job.
Hence my question : how can I pass the release URL from my release creation job to the job that will push artifact ?
THe full workflow is available here : https://github.com/Riduidel/rrss2imap/blob/master/.github/workflows/on_tag.yml
And I copy it here
...ANSWER
Answered 2019-Nov-08 at 02:02One possible solution is to create a repository_dispatch
event after you have created the release. You can pass a payload containing the variables you need for the builds.
Change your workflow as follows. Use a repo
scoped Personal Access Token named REPO_ACCESS_TOKEN
.
QUESTION
I would like to extract key value pair output from JSON formatted file using PHP and put into html table & database with exact key column. I tried code mentioned in Extract JSON ouput to get line by line key pair values using PHP but it doesn't work for multiple lines and gives wrong output from 2nd line onwards itself due to multiple lines from 2nd key.
As we discussed in that, filing separate question to avoid clutter the same question.
JSON file content: ...ANSWER
Answered 2019-Feb-05 at 11:34Your JSON seems not be formatted well in first place. You missed commas and square brackets.
This is a very basic solution but you can correct your JSON following this method:
Add commas
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install create-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