Publish files in correct directory in actions runner #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
tags: | |
- "*" | |
workflow_dispatch: | |
name: Build and publish executable | |
jobs: | |
build_publish: | |
name: Build and publish executable | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build bundle | |
run: cd dist && sudo ./build.sh --dist --bundle | |
- name: Publish bundle | |
uses: softprops/action-gh-release@v1 | |
with: | |
name: Automated build of ${{ github.ref }} | |
files: bin/* | |
draft: false | |
prerelease: true | |
body: This is an automated build of commit ${{ github.ref }}. |