This repository has been archived by the owner on Jul 31, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
71 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 "[email protected]" | ||
git config --global user.name "GraphQL Bot" | ||
git remote add github "https://$GITHUB_ACTOR:[email protected]/$GITHUB_REPOSITORY.git" || true | ||
# - name: Setup GIT | ||
# run: | | ||
# git config --global user.email "[email protected]" | ||
# git config --global user.name "GraphQL Bot" | ||
# git remote add github "https://$GITHUB_ACTOR:[email protected]/$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}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 "[email protected]" | ||
# git config --global user.name "GraphQL Bot" | ||
# git remote add github "https://$GITHUB_ACTOR:[email protected]/$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}" |