Skip to content

Commit

Permalink
omit using dist directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Polomsky committed Jun 10, 2021
1 parent 5f32eed commit fb251b8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ jobs:
with:
php-version: '5.6'
- name: Pack Release ZIP
run: |
mkdir -p dist/upload
cd dist
zip -9r oxid_qcs.zip modules -x '*.git*'
run: zip -9r oxid_qcs.zip modules
- name: Get the tag name
id: get_tag
run: echo ::set-output name=TAG::${GITHUB_REF/refs\/tags\//}
Expand All @@ -41,6 +38,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist/oxid_qcs.zip
asset_path: ./oxid_qcs.zip
asset_name: oxid-qcs-v${{ steps.get_tag.outputs.TAG }}.zip
asset_content_type: application/zip

0 comments on commit fb251b8

Please sign in to comment.