Set next development version of IDEA plugin, 2.3.23 #235
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: Build library and deploy snapshot | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: macos-latest | |
env: | |
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} | |
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} | |
MAVEN_ARGS: -Dmaven.resolver.transport=wagon | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: '17' | |
server-id: sonatype-nexus-snapshots | |
server-username: MAVEN_USERNAME | |
server-password: MAVEN_PASSWORD | |
- name: Install dependencies | |
run: | | |
brew install openssl | |
brew install autoconf | |
brew install automake | |
brew install libtool | |
brew install cmake | |
- name: build natives | |
run: ./build.sh | |
- name: Maven deploy | |
run: mvn clean deploy | |
- name: Gradle plugin deploy | |
run: cd plugins/gradle && ./gradlew clean build publish | |
- name: Configure AWS Credentials | |
uses: aws-actions/configure-aws-credentials@v1 | |
with: | |
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }} | |
aws-secret-access-key: ${{ secrets.AWS_ACCESS_KEY_SECRET }} | |
aws-region: eu-west-3 | |
- name: Deploy idea plugin | |
run: aws s3 sync ./plugins/idea/build/distributions/ s3://${{ secrets.AWS_BUCKET }}/snapshots/idea --acl public-read --follow-symlinks --delete | |
- name: Deploy eclipse plugin | |
run: aws s3 sync ./plugins/eclipse/update-site/target/repository/ s3://${{ secrets.AWS_BUCKET }}/snapshots/eclipse --acl public-read --follow-symlinks --delete |