From ad080f267e8531390398c21a2ccae56ab275faba Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Sat, 20 Apr 2024 18:51:42 -0500 Subject: [PATCH] remove auto releases --- .github/workflows/release.yaml | 32 +------------------------------- 1 file changed, 1 insertion(+), 31 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 58029a8..7ee8ff8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -21,34 +21,4 @@ jobs: - uses: stefanzweifel/git-auto-commit-action@v5 with: commit_message: Compile Winutil - if: success() - - create-release: - needs: build-runspace - runs-on: windows-latest - if: github.ref == 'refs/heads/main' - steps: - - uses: actions/checkout@v4 - - name: Prepare Release Date - run: | - $date = (Get-Date).AddDays(1).ToString('yyyy-MM-dd') - echo "CURRENT_DATE=$date" >> $GITHUB_ENV - shell: pwsh - - name: Set Git Config - run: | - git config --local user.email "contact@christitus.com" - git config --local user.name "Chris Titus" - - name: Create and Push Tag - run: | - git tag ${{ env.CURRENT_DATE }} - git push origin ${{ env.CURRENT_DATE }} - - name: Create Release and Upload Asset - uses: softprops/action-gh-release@v2 - with: - tag_name: ${{ env.CURRENT_DATE }} - name: Release ${{ env.CURRENT_DATE }} - draft: false - prerelease: false - files: ./winutil.ps1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + if: success() \ No newline at end of file