Skip to content

Commit

Permalink
Update cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xixiIBN5100 authored Aug 30, 2024
1 parent 4b691f6 commit e243a10
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,29 +106,11 @@ jobs:
if: steps.cache-dependencies.outputs.cache-hit != 'true'
run: pnpm install

- name: Read Version
id: version
uses: ashley-taylor/read-json-property-action@v1.0
with:
path: ./package.json
property: version

- name: Building
run: |
pnpm build-only
zip -r assets ./dist/**
- name: Create GitHub Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
with:
tag_name: v${{ steps.version.outputs.value }}
release_name: v${{ steps.version.outputs.value }}
draft: false
prerelease: false

- name: Update Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
Expand Down

0 comments on commit e243a10

Please sign in to comment.