Skip to content

Commit

Permalink
Simplify workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nvdaes committed Mar 7, 2020
1 parent 026d68d commit 7370050
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/addon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Build add-on
run: scons
- name: Create Release
- name: Upload binaries to release
if: contains(github.ref, '/tags/')
uses: actions/create-release@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: svenstaro/upload-release-action@v1-release
with:
if: endsWith(github.ref, '-dev')
prerelease: true
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: '*.nvda-addon'
tag: ${{ github.ref }}
overwrite: true
file_glob: true

0 comments on commit 7370050

Please sign in to comment.