From e3dc58e91e7f0ab44c40cf3aa777bde5f8fbde22 Mon Sep 17 00:00:00 2001 From: bluepilledgreat <97983689+bluepilledgreat@users.noreply.github.com> Date: Mon, 22 May 2023 17:35:15 +0100 Subject: [PATCH] Revert "add release workflow" This reverts commit 842bceff2fc8a5c61e957ed763565890234b0c5f. --- .github/workflows/ci.yml | 38 +++++++------------------------------- 1 file changed, 7 insertions(+), 31 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c60710a..7fbc12b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,10 @@ name: CI -on: [push, pull_request] +on: + push: + branches: + - main + pull_request: + branches: [ main ] jobs: build: @@ -27,33 +32,4 @@ jobs: with: name: RobloxUltimateScraper (${{ matrix.configuration }}, ${{ matrix.platform }}) path: | - ./RobloxUltimateScraper/bin/${{ matrix.configuration }}/net6.0/${{ matrix.platform }}/publish/* - - release: - needs: build - runs-on: ubuntu-latest - if: startsWith(github.ref, 'refs/tags/v') - - steps: - - name: Download Windows release artifact - uses: actions/download-artifact@v3 - with: - name: RobloxUltimateScraper (Release, win-x64) - path: Windows - - name: Download Linux release artifact - uses: actions/download-artifact@v3 - with: - name: RobloxUltimateScraper (Release, linux-x64) - path: Linux - - name: Rename binaries - run: | - mv Windows/RobloxUltimateScraper.exe RobloxUltimateScraper-${{ github.ref_name }}-Windows.exe - mv Linux/RobloxUltimateScraper RobloxUltimateScraper-${{ github.ref_name }}-Linux - - name: Release - uses: softprops/action-gh-release@v1 - with: - draft: true - files: | - RobloxUltimateScraper-${{ github.ref_name }}-Windows.exe - RobloxUltimateScraper-${{ github.ref_name }}-Linux - name: RobloxUltimateScraper ${{ github.ref_name }} \ No newline at end of file + ./RobloxUltimateScraper/bin/${{ matrix.configuration }}/net6.0/${{ matrix.platform }}/publish/* \ No newline at end of file