Skip to content

Commit

Permalink
GitHub Action update
Browse files Browse the repository at this point in the history
  • Loading branch information
sblantipodi committed Nov 26, 2023
1 parent e91ab4a commit 584e90e
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,25 +92,20 @@ jobs:
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref_name }}
name: Release ${{ github.ref_name }}
body: |
Changes in this Release
${{ env.commitmsg }}
draft: false
prerelease: false

- name: upload windows artifact
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Release files
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: WatchWinder_esp8266_firmware.tar
asset_name: WatchWinder_esp8266_firmware.tar
asset_content_type: application/zip
files: WatchWinder_esp8266_firmware.tar

0 comments on commit 584e90e

Please sign in to comment.