Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
dont tag things as master
Browse files Browse the repository at this point in the history
  • Loading branch information
hcliff committed Jun 1, 2020
1 parent f19101f commit 856567b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: set environment variables
run: echo "::set-env name=SHORT_SHA::$(git rev-parse --short=7 ${{ github.sha }})"
- 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 }}
tag_name: "${{env.SHORT_SHA}}"
release_name: Release ${{ github.ref }}
body: 'new release'
draft: false
Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const core = require('@actions/core');
require('./action');

async function run() {
try {
Expand Down

0 comments on commit 856567b

Please sign in to comment.