Update Changelog #13
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
# This is a basic workflow to help you get started with Actions | |
name: Release | |
# Controls when the workflow will run | |
on: | |
# Triggers the workflow on push or pull request events but only for the master branch | |
push: | |
branches: [ master ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
build: | |
name: Build a release | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
- name: Checkout | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
uses: actions/checkout@v2 | |
- name: Setup NodeJS | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14 | |
- name: Install dependencies | |
run: npm install | |
- name: Setup VSCE | |
uses: lannonbr/[email protected] | |
with: | |
args: "package" | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: jasmine-codesnippets | |
path: ${{ github.workspace }}/jasmine-js-codesnippets-0.3.0.vsix | |
# Find out how it is properly used. It looks like the "tag_name" will create a tag on GitHub, but this can be a corrupt tag like refs/heads/master this results in a git error message like: | |
# error: Src-Refspec refs/heads/master entspricht mehr als einer Referenz. | |
# - name: Create Release | |
# id: create_release | |
# uses: actions/create-release@v1 | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token | |
# with: | |
# tag_name: ${{ github.ref }} | |
# release_name: Release ${{ github.ref }} | |
# body: | | |
# Changes in this Release | |
# - First Change | |
# - Second Change | |
# draft: false | |
# prerelease: false |