Skip to content

Commit

Permalink
Use steps.release.outputs instead of steps.release.output (typo)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Parisot committed Aug 31, 2021
1 parent b629496 commit 9dc5b4c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 25 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/build.yml

This file was deleted.

20 changes: 12 additions & 8 deletions .github/workflows/release.yml → .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Release

on:
push:
pull_request:
release:
types:
- published
Expand All @@ -24,20 +26,22 @@ jobs:
- name: Upload zip file
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ github.event_name == 'release' }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./dist/${{ steps.release.output.archive-name }}
asset_name: ${{ steps.release.output.archive-name }}
asset_path: ./dist/${{ steps.release.outputs.archive-name }}
asset_name: ${{ steps.release.outputs.archive-name }}
asset_content_type: application/zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload md5 file
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ github.event_name == 'release' }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./dist/${{ steps.release.output.archive-name }}.md5
asset_name: ${{ steps.release.output.archive-name }}.md5
asset_path: ./dist/${{ steps.release.outputs.archive-name }}.md5
asset_name: ${{ steps.release.outputs.archive-name }}.md5
asset_content_type: text/plain
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 9dc5b4c

Please sign in to comment.