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: |
|
run: |
|
||||||
composer install --no-dev --optimize-autoloader
|
composer install --no-dev --optimize-autoloader
|
||||||
composer run build
|
composer run build
|
||||||
cd dist
|
|
||||||
|
|
||||||
- name: Create release archive
|
- name: Create release archive
|
||||||
uses: montudor/action-zip@v0.1.0
|
uses: montudor/action-zip@v0.1.0
|
||||||
with:
|
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
|
- name: Upload archive as artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: footnotes-${{ github.event.release.tag_name }}
|
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
|
- name: Upload archive to release
|
||||||
uses: JasonEtco/upload-to-release@master
|
uses: JasonEtco/upload-to-release@master
|
||||||
with:
|
with:
|
||||||
args: footnotes-${{ github.event.release.tag_name }}.zip application/zip
|
args: dist/footnotes-${{ github.event.release.tag_name }}.zip application/zip
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
|
Reference in a new issue