Skip to content

Commit

Permalink
Fixes Release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
crsib committed Sep 28, 2021
1 parent 1b631e7 commit 623491e
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
version:
description: 'Version'
required: true
default: 3.0.5

jobs:
build:
Expand All @@ -17,14 +16,14 @@ jobs:

- name: Package
run: |
echo "Building audacity-manual-${{ inputs.version }}.tar.gz"
echo "Building audacity-manual-${{ github.event.inputs.version }}.tar.gz"
mkdir -p help
cp -R manual help/
tar czf audacity-manual-${{ inputs.version }}.tar.gz help
tar czf audacity-manual-${{ github.event.inputs.version }}.tar.gz help
- name: Release
uses: softprops/action-gh-release@v1
with:
body: 'Audacity manual for version ${{ inputs.version }}'
tag_name: v${{ inputs.version }}
files: *.tar.gz
body: 'Audacity manual for version ${{ github.event.inputs.version }}'
tag_name: v${{ github.event.inputs.version }}
files: '*.tar.gz'

0 comments on commit 623491e

Please sign in to comment.