From eae5574ef7b602a0ba032c455a4a30b4f22abfef Mon Sep 17 00:00:00 2001 From: SocksOnHead Date: Mon, 14 Oct 2024 01:41:13 +0200 Subject: [PATCH] Delete .workflows/build.yml --- .workflows/build.yml | 73 -------------------------------------------- 1 file changed, 73 deletions(-) delete mode 100644 .workflows/build.yml diff --git a/.workflows/build.yml b/.workflows/build.yml deleted file mode 100644 index 7a73334..0000000 --- a/.workflows/build.yml +++ /dev/null @@ -1,73 +0,0 @@ -name: Build and Release Angular App - -on: - push: - branches: - - master - pull_request: - branches: - - master - -jobs: - build: - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [14.x, 16.x] - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Setup Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node-version }} - - - name: Install dependencies and build Angular app - run: | - cd ./tools - npm install - npm run build - - - name: Upload build artifacts - uses: actions/upload-artifact@v3 - with: - name: angular-app - path: tools/dist/angular-app - - release: - needs: build - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Download build artifacts - uses: actions/download-artifact@v3 - with: - name: angular-app - path: tools/dist/angular-app - - - name: Create GitHub Release - id: create_release - uses: actions/create-release@v2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ github.sha }} - release_name: Release ${{ github.sha }} - draft: false - prerelease: false - - - name: Upload build artifact to Release - uses: actions/upload-release-asset@v2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: tools/dist/angular-app - asset_name: angular-app.zip - asset_content_type: application/zip