From 55db9e1c5fd84087cd9505f64803c0b9e14eabd7 Mon Sep 17 00:00:00 2001 From: Cathal Noonan <14317886+cathalnoonan@users.noreply.github.com> Date: Tue, 30 Jul 2024 20:34:04 +0100 Subject: [PATCH] Remove "DRAFT_RELEASE.yml" --- .github/workflows/DRAFT_RELEASE.yml | 61 ----------------------------- 1 file changed, 61 deletions(-) delete mode 100755 .github/workflows/DRAFT_RELEASE.yml diff --git a/.github/workflows/DRAFT_RELEASE.yml b/.github/workflows/DRAFT_RELEASE.yml deleted file mode 100755 index bb40083..0000000 --- a/.github/workflows/DRAFT_RELEASE.yml +++ /dev/null @@ -1,61 +0,0 @@ -name: Draft release -run-name: ${{ github.ref_name }} - -on: - push: - tags: - - v** - -env: - DOTNET_ROLL_FORWARD: Major - DOTNET_NOLOGO: 1 - DOTNET_CLI_TELEMETRY_OPTOUT: 1 - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 - -permissions: - contents: write - -jobs: - draft_release: - name: Draft release - runs-on: ubuntu-latest - steps: - - name: "Setup: Checkout" - uses: actions/checkout@v4 - - name: "Setup: Node" - uses: actions/setup-node@v4 - with: - node-version-file: '.nvmrc' - cache: 'npm' - cache-dependency-path: control/package-lock.json - - name: "Setup: dotnet" - uses: actions/setup-dotnet@v4 - - name: "Build: dotnet build" - run: dotnet build - - name: "Setup: zip" - shell: bash - run: | - if ! command -v zip &> /dev/null - then - sudo apt -y update - sudo apt -y install zip - fi - - name: "Configure: Version" - run: echo "Version=${GITHUB_REF##*/v}" >> $GITHUB_ENV - - name: "Build: Version the solution" - run: dotnet msbuild -t:SetVersion -p:NewVersion=${{ env.Version }} - - name: "Build: dotnet build" - run: dotnet build - - name: "Test: dotnet test" - run: dotnet test --no-build - - name: "Test: Prepare code coverage" - run: | - if test -d ./dist/coverage - then - (cd ./dist && zip -r ./coverage.zip ./coverage) - fi - - name: "GitHub: Create draft release" - uses: softprops/action-gh-release@v2 - with: - draft: true - files: dist/*.zip