Deploy #18
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
name: Deploy | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Gradle build | |
run: | | |
chmod +x ./gradlew | |
./gradlew buildPlugin | |
./gradlew nodeSetup | |
./gradlew yarn | |
./gradlew yarn_build | |
- name: Commit new release | |
env: | |
INTELLIJ_DEPLOY: ${{ secrets.INTELLIJ_DEPLOY }} | |
run: | | |
VERSION=`./gradlew yarn_bump` | |
./gradlew publishPlugin | |
git config --global user.name 'lukasbachbot' | |
git config --global user.email '[email protected]' | |
git status | |
git add . | |
git commit -m "Releasing" | |
git push | |
#git tag $VERSION |