From 803fe82efbbd974c0d8e8b770ccace260d4d7ab6 Mon Sep 17 00:00:00 2001 From: BLxcwg666 Date: Sat, 6 Apr 2024 17:44:31 +0800 Subject: [PATCH] chore(ci): del release.yml --- .github/workflows/release.yml | 42 ----------------------------------- 1 file changed, 42 deletions(-) delete mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index a69ba7a..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: Release - -on: - push: - tags: - - 'v*' - -jobs: - release: - runs-on: ubuntu-latest - permissions: - contents: write - - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Get Version - id: version - run: echo "::set-output name=VERSION::${GITHUB_REF#refs/tags/v}" - - - name: Release - id: create_release - uses: actions/create-release@v1 - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ steps.version.outputs.VERSION }} - release_name: Release ${{ steps.version.outputs.VERSION }} - body: | - $(cat CHANGELOG.md) - - - name: Upload asset - id: upload-release-asset - uses: actions/upload-release-asset@v1 - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./logger.js - asset_name: logger.js - asset_content_type: text/markdown