Fix paths
This commit is contained in:
parent
28fd2aa0f0
commit
ee690f900f
1 changed files with 3 additions and 4 deletions
7
.github/workflows/release-handler.yml
vendored
7
.github/workflows/release-handler.yml
vendored
|
@ -18,23 +18,22 @@ jobs:
|
|||
run: |
|
||||
composer install --no-dev --optimize-autoloader
|
||||
composer run build
|
||||
cd dist
|
||||
|
||||
- name: Create release archive
|
||||
uses: montudor/action-zip@v0.1.0
|
||||
with:
|
||||
args: zip -X -r footnotes-${{ github.event.release.tag_name }}.zip .
|
||||
args: (cd dist && zip -X -r footnotes-${{ github.event.release.tag_name }}.zip .)
|
||||
|
||||
- name: Upload archive as artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: footnotes-${{ github.event.release.tag_name }}
|
||||
path: footnotes-${{ github.event.release.tag_name }}.zip
|
||||
path: dist/footnotes-${{ github.event.release.tag_name }}.zip
|
||||
|
||||
- name: Upload archive to release
|
||||
uses: JasonEtco/upload-to-release@master
|
||||
with:
|
||||
args: footnotes-${{ github.event.release.tag_name }}.zip application/zip
|
||||
args: dist/footnotes-${{ github.event.release.tag_name }}.zip application/zip
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
|
Reference in a new issue