Skip to content

Commit

Permalink
Use comnoco release action
Browse files Browse the repository at this point in the history
  • Loading branch information
jfhbrook committed Aug 30, 2024
1 parent 30bf146 commit a387ec2
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,18 @@ jobs:
name: man-page
path: man
- name: Create a GitHub release
uses: marvinpinto/action-automatic-releases@latest
uses: comnoco/create-release-action@v2
env:
GITHUB_TOKEN: ${{ github.TOKEN }}
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
draft: false
prerelease: false
title: Release v${{ needs.versions.outputs.release-version }}
files: |
dist/*
man/pyee.1
tag_name: ${{ github.ref }}
release_name: Release v${{ needs.versions.outputs.release-version }}
- name: Upload files to GitHub release
env:
GITHUB_TOKEN: ${{ github.TOKEN }}
shell: bash
run: |
cd '${{ github.workspace }}'
gh release upload '${{ github.ref }}' dist/* man/pyee.1

0 comments on commit a387ec2

Please sign in to comment.