Skip to content

Commit

Permalink
Update simple.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
research11111 authored Oct 3, 2023
1 parent b8fa90d commit cbb9f61
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/simple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,17 @@ jobs:
- name: Create ZIP archive
run: zip archive.zip a.txt

- name: release name
id: release_name
run: |
echo "tagname=$(echo $GITHUB_REF | sed 's|refs/tags/||')" >> $GITHUB_OUTPUT
- name: Create GitHub Release
id: create_release
uses: actions/create-release@v1
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
tag_name: ${{ steps.release_name.outputs.tagname }}
release_name: Release ${{ steps.release_name.outputs.tagname }}
draft: false
prerelease: false

Expand Down

0 comments on commit cbb9f61

Please sign in to comment.