From b8f37cc4dd45cc69227672d7412d95a7a5148f9a Mon Sep 17 00:00:00 2001 From: Daniel Danan Date: Thu, 13 Jun 2024 17:58:11 +0300 Subject: [PATCH] updating release workflow to pack the release differently --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ca23986..6682361 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,7 +30,7 @@ jobs: - name: Run tests run: mvn -B test --file java/pom.xml - # setup nodejs + # Set up Node.js - name: Set up Node.js uses: actions/setup-node@v4 with: @@ -54,10 +54,10 @@ jobs: run: | REPO_NAME=$(basename $GITHUB_REPOSITORY) VERSION=$(git describe --tags --always) - PACKAGE_NAME="${REPO_NAME}-${VERSION}" + PACKAGE_NAME="${VERSION}" mkdir -p $PACKAGE_NAME cp -r bundle $PACKAGE_NAME/ - cp -r action.yml $PACKAGE_NAME/ + cp action.yml $PACKAGE_NAME/ zip -r ${PACKAGE_NAME}.zip $PACKAGE_NAME/ mkdir -p release mv ${PACKAGE_NAME}.zip release/