Skip to content

Commit

Permalink
updating release workflow to pack the release differently
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldanan committed Jun 13, 2024
1 parent 1fd564e commit b8f37cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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/
Expand Down

0 comments on commit b8f37cc

Please sign in to comment.