diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index f84a682e..2faf0b13 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -1,39 +1,39 @@ -name: automatic-release +# name: automatic-release -on: - push: - branches-ignore: - - master +# on: +# push: +# branches-ignore: +# - master -env: - BOT_GH_TOKEN: ${{ secrets.BOT_GH_TOKEN }} - VSCE_PAT: ${{ secrets.VSCE_PAT }} +# env: +# BOT_GH_TOKEN: ${{ secrets.BOT_GH_TOKEN }} +# VSCE_PAT: ${{ secrets.VSCE_PAT }} -jobs: - prerelease: - name: Create prerelease - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Install Dependencies - run: npm ci +# jobs: +# prerelease: +# name: Create prerelease +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v2 +# - name: Install Dependencies +# run: npm ci - - name: Setup GIT - run: | - git config --global user.email "95909575+graphql-bot@users.noreply.github.com" - git config --global user.name "GraphQL Bot" - git remote add github "https://$GITHUB_ACTOR:$BOT_GH_TOKEN@github.com/$GITHUB_REPOSITORY.git" || true +# - name: Setup GIT +# run: | +# git config --global user.email "95909575+graphql-bot@users.noreply.github.com" +# git config --global user.name "GraphQL Bot" +# git remote add github "https://$GITHUB_ACTOR:$BOT_GH_TOKEN@github.com/$GITHUB_REPOSITORY.git" || true - - name: Bump version - id: bump - run: | - npm version patch -m "%s (prerelease)" +# - name: Bump version +# id: bump +# run: | +# npm version patch -m "%s (prerelease)" - - name: VSCE Pre-Release Publish - id: publish - run: | - ./node_modules/.bin/vsce publish --pre-release +# - name: VSCE Pre-Release Publish +# id: publish +# run: | +# ./node_modules/.bin/vsce publish --pre-release - - name: Push to master - run: | - git push github HEAD:"${GITHUB_REF}" +# - name: Push to master +# run: | +# git push github HEAD:"${GITHUB_REF}" diff --git a/.github/workflows/pre-release.yml.disabled b/.github/workflows/pre-release.yml.disabled new file mode 100644 index 00000000..2faf0b13 --- /dev/null +++ b/.github/workflows/pre-release.yml.disabled @@ -0,0 +1,39 @@ +# name: automatic-release + +# on: +# push: +# branches-ignore: +# - master + +# env: +# BOT_GH_TOKEN: ${{ secrets.BOT_GH_TOKEN }} +# VSCE_PAT: ${{ secrets.VSCE_PAT }} + +# jobs: +# prerelease: +# name: Create prerelease +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v2 +# - name: Install Dependencies +# run: npm ci + +# - name: Setup GIT +# run: | +# git config --global user.email "95909575+graphql-bot@users.noreply.github.com" +# git config --global user.name "GraphQL Bot" +# git remote add github "https://$GITHUB_ACTOR:$BOT_GH_TOKEN@github.com/$GITHUB_REPOSITORY.git" || true + +# - name: Bump version +# id: bump +# run: | +# npm version patch -m "%s (prerelease)" + +# - name: VSCE Pre-Release Publish +# id: publish +# run: | +# ./node_modules/.bin/vsce publish --pre-release + +# - name: Push to master +# run: | +# git push github HEAD:"${GITHUB_REF}"