Skip to content

Commit

Permalink
Fix release names
Browse files Browse the repository at this point in the history
  • Loading branch information
Obi-Dann committed Dec 7, 2020
1 parent a000e8e commit e12e9c6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,16 @@ jobs:
- name: Prepare release artifact
shell: bash
run: |
vendor/7zip/7z.exe a Squirrel.Windows-${{ github.ref }}.zip @electron-builder.listfile.txt
vendor/7zip/7z.exe a Squirrel.Windows-${{ github.event.ref }}.zip @electron-builder.listfile.txt
- 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 }}
release_name: Squirrel.Windows ${{ github.ref }}
tag_name: ${{ github.event.ref }}
release_name: Squirrel.Windows ${{ github.event.ref }}
draft: false
prerelease: false

Expand All @@ -64,6 +64,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./Squirrel.Windows-${{ github.ref }}.zip
asset_name: Squirrel.Windows-${{ github.ref }}.zip
asset_path: ./Squirrel.Windows-${{ github.event.ref }}.zip
asset_name: Squirrel.Windows-${{ github.event.ref }}.zip
asset_content_type: application/zip

0 comments on commit e12e9c6

Please # to comment.