Skip to content

Commit

Permalink
[#82] Use ref as tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
juampynr committed Jul 5, 2022
1 parent 2f4385b commit be537a9
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Create release
on: push

on:
push:
- master
- 82-interactive-cli
jobs:
create-release:
name: Build and create a release
Expand All @@ -14,8 +16,10 @@ jobs:
export PATH=$PATH:/usr/local/go/bin
go version
go build
- name: Release
uses: softprops/action-gh-release@v1
#if: startsWith(github.ref, 'refs/tags/')
- uses: "marvinpinto/action-automatic-releases@latest"
with:
files: drupal9ci
automatic_release_tag: "${{ github.ref }}"
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: |
drupal9ci

0 comments on commit be537a9

Please sign in to comment.