From 95b297e08a1bcf715e9d952a28ad2cf89b7b8566 Mon Sep 17 00:00:00 2001 From: Frank419 Date: Thu, 29 Aug 2024 18:29:50 +0800 Subject: [PATCH] This workflow doesn't work. Removed. --- .github/workflows/add-zip-to-release.yml | 30 ------------------------ 1 file changed, 30 deletions(-) delete mode 100644 .github/workflows/add-zip-to-release.yml diff --git a/.github/workflows/add-zip-to-release.yml b/.github/workflows/add-zip-to-release.yml deleted file mode 100644 index afd89e0..0000000 --- a/.github/workflows/add-zip-to-release.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Generate Installable Plugin or Theme, and Upload as Release Asset -on: - release: - types: [published] -jobs: - build: - name: Upload Release Asset - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: setup git config - run: | - git config user.name "GitHub Actions Bot" - git config user.email "<>" - - name: Create artifact - run : | - git archive -o ${{ github.event.repository.name }}-${{ github.ref_name }}.zip --prefix ${{ github.event.repository.name }}/ HEAD - ls - - name: Upload artifact - uses: actions/upload-artifact@v2 - with: - name: ${{ github.event.repository.name }}-${{ github.ref_name }} - path: ${{ github.event.repository.name }}-${{ github.ref_name }}.zip - - name: Upload to release - uses: JasonEtco/upload-to-release@master - with: - args: ${{ github.event.repository.name }}-${{ github.ref_name }}.zip application/zip - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}