From 2a1ed220441ac76dd2e4ae9d1d76599d479119e8 Mon Sep 17 00:00:00 2001 From: ProphetLamb Date: Mon, 26 Sep 2022 15:25:20 +0200 Subject: [PATCH] Remove release workflows --- .github/workflows/nightly.yml | 40 --------------------- .github/workflows/release.yml | 65 ----------------------------------- 2 files changed, 105 deletions(-) delete mode 100644 .github/workflows/nightly.yml delete mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml deleted file mode 100644 index a8478d0c..00000000 --- a/.github/workflows/nightly.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Nightly - -on: - schedule: - - cron: "0 0 * * *" - -env: - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true - DOTNET_CLI_TELEMETRY_OPTOUT: 1 - DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: true -defaults: - run: - shell: bash - -jobs: - nightly: - permissions: - contents: write - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - ref: master - - - name: Get version - run: | - .github/nightly_version.sh - - - name: Patch version - run: | - .github/patch_version.sh ${{ env:NIGHTLY_TAG }} - - - name: Create release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ github.token }} - with: - tag_name: ${{ env:NIGHTLY_TAG }} - release_name: ${{ env:NIGHTLY_TAG }} - Automated nightly release - generateReleaseNotes: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 742b47af..00000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,65 +0,0 @@ -name: Release - -on: - workflow_dispatch: - inputs: - tag: - type: string - description: Tag - required: true - message: - type: string - description: Message - required: true -env: - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true - DOTNET_CLI_TELEMETRY_OPTOUT: 1 - DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: true -defaults: - run: - shell: bash - -jobs: - release: - permissions: - contents: write - runs-on: ubuntu-latest - steps: - - name: Merge master -> release - uses: devmasx/merge-branch@master - with: - type: now - from_branch: master - target_branch: release - github_token: ${{ github.token }} - - - uses: actions/checkout@v3 - with: - ref: release - - - name: Patch version - run: | - .github/patch_version.sh ${{ github.event.inputs.tag }} - - - name: Commit version - uses: stefanzweifel/git-auto-commit-action@v4 - with: - commit_options: "--no-verify --signoff" - file_pattern: "**.props *.md" - - - name: Merge release -> master - uses: devmasx/merge-branch@master - with: - type: now - from_branch: release - target_branch: master - github_token: ${{ github.token }} - - - name: Create release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ github.token }} - with: - tag_name: ${{ github.event.inputs.tag }} - release_name: ${{ github.event.inputs.tag }} - ${{ github.event.inputs.message }} - generateReleaseNotes: true