From cf71c9bb76be02de883a330eeef2feac7dd60870 Mon Sep 17 00:00:00 2001 From: Gegy Date: Fri, 27 Oct 2023 17:39:29 +0200 Subject: [PATCH] Fix: create jar files from workflow --- .github/workflows/assets.yaml | 7 ++++--- .github/workflows/{datpack.yaml => datapack.yaml} | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) rename .github/workflows/{datpack.yaml => datapack.yaml} (69%) diff --git a/.github/workflows/assets.yaml b/.github/workflows/assets.yaml index 2fae265e..0466a94a 100644 --- a/.github/workflows/assets.yaml +++ b/.github/workflows/assets.yaml @@ -10,10 +10,11 @@ jobs: steps: - uses: actions/checkout@v2 + - run: | + zip -r lt-assets.jar assets/ META-INF/ pack.mcmeta + - uses: actions/upload-artifact@v2 with: name: lt-assets path: | - META-INF/ - assets/ - pack.mcmeta + lt-assets.jar diff --git a/.github/workflows/datpack.yaml b/.github/workflows/datapack.yaml similarity index 69% rename from .github/workflows/datpack.yaml rename to .github/workflows/datapack.yaml index 117ca7e0..4e4cb5f6 100644 --- a/.github/workflows/datpack.yaml +++ b/.github/workflows/datapack.yaml @@ -10,10 +10,11 @@ jobs: steps: - uses: actions/checkout@v2 + - run: | + zip -r lt-data.jar data/ META-INF/ pack.mcmeta + - uses: actions/upload-artifact@v2 with: name: lt-data path: | - data/ - pack.mcmeta - retention-days: 30 + lt-data.jar