Skip to content

Commit 3b3836d

Browse files
committed
Fix release asset upload
1 parent 8aa4f07 commit 3b3836d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,17 @@ jobs:
2626
- name: Install Composer dependencies
2727
run: composer install --no-dev --optimize-autoloader
2828

29+
- name: Generate configuration files
30+
run: php scripts/config_gen.php
31+
2932
- name: Create tarball
30-
run: tar -czvf cypht.tar.gz ./*
33+
run: cd .. && tar -pczf cypht.tar.gz cypht
3134

3235
- name: Upload release asset
3336
uses: actions/upload-release-asset@v1
3437
with:
3538
upload_url: ${{ github.event.release.upload_url }}
36-
asset_path: ./cypht.tar.gz
39+
asset_path: ../cypht.tar.gz
3740
asset_name: cypht.tar.gz
3841
asset_content_type: application/gzip
3942
env:

0 commit comments

Comments
 (0)