Upload file to release assets
Required tag name of release branch. Default ${{ github.ref }}
.
Required file path to be uploaded. Default ''
.
uses: nebula-actions/upload-assets
with:
asset-path: /path/to/asset
tag: tag
upload files to GitHub release assets
The following step definition makes the script exit with code 1 on a tag push:
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: nebula-actions/[email protected]
with:
asset-path: whatever
tag: ${{ github.ref }}
This is because github.ref
includes the prefix refs/tags/
, so your GH_RELEASE
variable becomes:
https://api.github.com/repos/{author}/{repo}/releases/tags/refs/tags/{tag}
But the correct URL as per the GitHub API docs should be
https://api.github.com/repos/{owner}/{repo}/releases/tags/{tag}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.