From a311c3885a5ada317d229d43bcc20d0eb434818d Mon Sep 17 00:00:00 2001 From: Gwhyyy Date: Thu, 2 Mar 2023 23:31:36 +0100 Subject: [PATCH] [ Remove ] removed release github actions file --- .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 7fc524c3..00000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: Release Workflow. - -on: - push: - branches: ["main"] - pull_request: - branches: ["main"] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - name: Checking commit message - - run: | - echo "This commit contains the word 'release'. Creating a release..." - - - name: Extracting Version Number Of The Current Release - run: | - VERSION=$(grep -oP "version:\s*\K.*" pubspec.yaml) - echo "VERSION: V$VERSION detected" - echo "VERSION=${VERSION}" >> $GITHUB_ENV - - - name: Check if release exists - id: check_release - uses: peter-evans/release-check@v1 - with: - tag: ${{ env.VERSION }} - token: ${{ secrets.GITHUB_TOKEN }} - - - name: Creating New Release - if: steps.check_release.outputs.release_exists == 'false' - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ env.VERSION }} - release_name: ${{ env.VERSION }} - draft: false - prerelease: false