Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
patuwwy committed Nov 14, 2023
1 parent 0ba93e9 commit f1dae16
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Release

on:
push:
branches:
- master
tags:
- 'v*'

jobs:
zip-release:
Expand All @@ -23,7 +23,7 @@ jobs:
run: echo "::set-output name=version::$(jq -r .version app/manifest.json)"

- name: Zip subdirectory
run: zip -r ${{ env.RELEASE_ZIP_FILENAME }}-${{ steps.version.outputs.version }}.zip ./${{ env.SOURCE_SUBDIRECTORY }}
run: zip -r ${{ env.RELEASE_ZIP_FILENAME }}-${{ steps.version.outputs.version }}.zip ./${{ env.SOURCE_SUBDIRECTORY }}/

- name: Create Release
id: create_release
Expand All @@ -43,6 +43,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ env.RELEASE_ZIP_FILENAME }}-${{ steps.version.outputs.version }}.zip"
asset_name: ${{ env.RELEASE_ZIP_FILENAME }}-${{ steps.version.outputs.version }}.zip"
asset_path: ./${{ env.RELEASE_ZIP_FILENAME }}-${{ steps.version.outputs.version }}.zip
asset_name: ${{ env.RELEASE_ZIP_FILENAME }}-${{ steps.version.outputs.version }}.zip
asset_content_type: application/zip

0 comments on commit f1dae16

Please sign in to comment.