Skip to content

Commit

Permalink
add instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
djnicholson committed Sep 29, 2020
1 parent 50c8a72 commit b70b1aa
Showing 1 changed file with 35 additions and 10 deletions.
45 changes: 35 additions & 10 deletions .github/workflows/build.yml
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:
Expand All @@ -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'

0 comments on commit b70b1aa

Please sign in to comment.