Skip to content

Commit

Permalink
Revert "simplify github actions"
Browse files Browse the repository at this point in the history
This reverts commit 0b281f4.
  • Loading branch information
ghostflyby committed Feb 26, 2024
1 parent 3d4022f commit 856536b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,21 @@ jobs:
- recursive: true
- name: "pnpm build"
if: ${{ steps.read-versions.outputs.version != steps.read-versions.outputs.previous-version }}
run: |
echo "Building the project..."
pnpm run build
echo "Done!"
- name: "Zip release files" # Only if the version has been updated
if: ${{ steps.read-versions.outputs.version != steps.read-versions.outputs.previous-version }}
run: |
echo "Creating a release zip file..."
zip -r "${{github.event.repository.name}}-release.zip" dist/ LICENSE README.md manifest.json
echo "Done!"
- name: "Create Release"
if: ${{ steps.read-versions.outputs.version != steps.read-versions.outputs.previous-version }}
run: |
gh release create "${{ steps.read-versions.outputs.version }}" *.zip --generate-notes
env:
Expand Down

0 comments on commit 856536b

Please sign in to comment.