Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
devsrealm authored Jun 9, 2021
1 parent 35dd499 commit cfded9b
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,15 @@ jobs:
with:
name: github-actions-demo.zip
path: github-actions-demo.zip
- name: Upload to release
uses: JasonEtco/upload-to-release@master
- name: Upload Release
uses: svenstaro/upload-release-action@v2
with:
args: github-actions-demo.zip application/zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: github-actions-demo.zip
asset_name: github-actions-demo
tag: ${{ github.ref }}
overwrite: true
body: "Latest Release"

deploy:
needs: [build] # The below only runs if the build is succesful
Expand Down

0 comments on commit cfded9b

Please sign in to comment.