diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml deleted file mode 100644 index 5b905bba3..000000000 --- a/.github/workflows/release-build.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: Build and Release - -on: - push: - branches: ["main"] - pull_request: - branches: ["main"] - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Install tools - run: | - sudo apt-get update - sudo apt-get install -y zip - - - name: Install dependencies - run: npm install - - - name: Build - run: npm run build - - - name: Create Release - if: github.event_name == 'push' - id: create_release - uses: actions/create-release@v1.0.0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: action-build - release_name: Action Build - - - name: Upload Release Asset - if: github.event_name == 'push' - id: upload-release-asset - uses: actions/upload-release-asset@v1.0.1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./dist.zip - asset_name: dist.zip - asset_content_type: application/zip