Skip to content

Commit

Permalink
Fixed github release action
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohamedin committed Jul 11, 2022
1 parent bc46c0f commit 733d765
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,19 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set filename
id: vars
run: echo ::set-output name=file_name::drawiowhiteboard${GITHUB_REF##*/}.zip
- uses: actions/checkout@master
- name: Archive Release
uses: thedoctor0/zip-release@main
with:
type: 'zip'
filename: 'drawiowhiteboard${GITHUB_REF/refs\/tags\//}.zip'
filename: ${{ steps.vars.outputs.file_name }}
path: drawiowhiteboard
exclusions: '*.git* /*node_modules/* .editorconfig'
- name: Upload Release
uses: ncipollo/release-action@v1
with:
artifacts: "drawiowhiteboard${GITHUB_REF/refs\/tags\//}.zip"
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: ${{ steps.vars.outputs.file_name }}
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 733d765

Please sign in to comment.