-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
50c8a72
commit b70b1aa
Showing
1 changed file
with
35 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,28 @@ | ||
# | ||
# INSTRUCTIONS FOR PUBLISHING TO MARKETPLACE: | ||
# | ||
# 1. Build a feature | ||
# Develop new feature and merge code into the master branch | ||
# of https://github.com/djnicholson/release-action. | ||
# 3. Determine what the next version tag is going to be | ||
# The current value of the "tag-name" setting (found lower | ||
# down in this file will be used). | ||
# 2. Edit README.md | ||
# Change the two examples to use the next version tag. | ||
# 3. Commit and push to GitHub | ||
# Wait for the Action to succeed (monitor this at | ||
# https://github.com/djnicholson/release-action/actions) | ||
# 4. Publish to the market place | ||
# Go to: | ||
# https://github.com/djnicholson/release-action/releases | ||
# Edit the "Upcoming release" (check the "Publish to GitHub | ||
# Marketplace" box and give it a meaningful title and | ||
# description). | ||
# 5. Decide what the next version number will be | ||
# Update the "tag-name" setting lower in this file (increment | ||
# the value) then commit and merge into master. | ||
# | ||
|
||
name: Build | ||
|
||
on: | ||
|
@@ -19,19 +44,19 @@ jobs: | |
run: | | ||
npm ci | ||
npm run build | ||
- name: 🌎 Release (using local code) | ||
uses: ./ | ||
id: release-action | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
tag-name: 'v0.0-rolling' | ||
asset-name: 'index.js' | ||
file: 'dist/index.js' | ||
# - name: 🌎 Release (using local code) | ||
# uses: ./ | ||
# id: release-action | ||
# with: | ||
# token: ${{ secrets.GITHUB_TOKEN }} | ||
# tag-name: 'v0.0-test' | ||
# asset-name: 'index.js' | ||
# file: 'dist/index.js' | ||
- name: 🌎 Release (using published action) | ||
uses: djnicholson/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
tag-name: 'v2.8-candidate' | ||
release-name: 'Rolling build' | ||
tag-name: 'v2.8' | ||
release-name: 'Upcoming release' | ||
asset-name: 'index.js' | ||
file: 'dist/index.js' |