Skip to content

Commit

Permalink
Fix workflow output artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
catus felis committed Nov 7, 2022
1 parent 5794e5b commit a208925
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,14 @@ jobs:
zip -9 -j $OUTPUT_DIR/all-epub.zip $OUTPUT_DIR/epub/*.* &&
zip -9 -j $OUTPUT_DIR/all-kobo.zip $OUTPUT_DIR/kobo/*.* &&
zip -9 -j $OUTPUT_DIR/all-lingvo.zip $OUTPUT_DIR/lingvo/*.* &&
zip -9 -j $OUTPUT_DIR/all-kindle.zip $OUTPUT_DIR/kindle/*.*
zip -9 -j $OUTPUT_DIR/all-kindle.zip $OUTPUT_DIR/kindle/*.* &&
ls -R $OUTPUT_DIR
- name: Create a new release draft
id: create_release
uses: ncipollo/release-action@v1
with:
artifacts: "$OUTPUT_DIR/*.zip,$OUTPUT_DIR/kindle/*.mobi,$OUTPUT_DIR/kobo/*.zip,$OUTPUT_DIR/lingvo/*.dz,$OUTPUT_DIR/epub/*.epub"
artifacts: "./output/*.zip,./output/kindle/*.mobi,./output/kobo/*.zip,./output/lingvo/*.dz,./output/epub/*.epub"
body: If you can read this, we have forgotten to fill in the changelog. Sorry!
token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release_all_external.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,14 @@ jobs:
zip -9 -j $OUTPUT_DIR/all-epub.zip $OUTPUT_DIR/epub/*.* &&
zip -9 -j $OUTPUT_DIR/all-kobo.zip $OUTPUT_DIR/kobo/*.* &&
zip -9 -j $OUTPUT_DIR/all-lingvo.zip $OUTPUT_DIR/lingvo/*.* &&
zip -9 -j $OUTPUT_DIR/all-kindle.zip $OUTPUT_DIR/kindle/*.*
zip -9 -j $OUTPUT_DIR/all-kindle.zip $OUTPUT_DIR/kindle/*.* &&
ls -R $OUTPUT_DIR
- name: Create a new release draft
id: create_release
uses: ncipollo/release-action@v1
with:
artifacts: "$OUTPUT_DIR/*.zip,$OUTPUT_DIR/kindle/*.mobi,$OUTPUT_DIR/kobo/*.zip,$OUTPUT_DIR/lingvo/*.dz,$OUTPUT_DIR/epub/*.epub"
artifacts: "./ext-output/*.zip,./ext-output/kindle/*.mobi,./ext-output/kobo/*.zip,./ext-output/lingvo/*.dz,./ext-output/epub/*.epub"
body: If you can read this, we have forgotten to fill in the changelog. Sorry!
token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
Expand Down

0 comments on commit a208925

Please sign in to comment.