Simply snapshot release workflow further, for #4346.

This commit is contained in:
Antonin Delpeuch 2021-12-09 15:55:59 +02:00
parent 9e2bcb5c0f
commit 5d6da1babb
2 changed files with 1 additions and 10 deletions

View File

@ -164,13 +164,8 @@ jobs:
mvn prepare-package -DskipTests=true mvn prepare-package -DskipTests=true
mvn jacoco:report coveralls:report -DrepoToken=${{ secrets.COVERALLS_TOKEN }} -DpullRequest=${{ github.event.number }} -DserviceName="GitHub Actions" -DserviceBuildNumber=${{ env.GITHUB_RUN_ID }} -Dbranch=master mvn jacoco:report coveralls:report -DrepoToken=${{ secrets.COVERALLS_TOKEN }} -DpullRequest=${{ github.event.number }} -DserviceName="GitHub Actions" -DserviceBuildNumber=${{ env.GITHUB_RUN_ID }} -Dbranch=master
- name: Get the OpenRefine snapshot version
run: echo ::set-env name=OR_VERSION::$(cat ./main/webapp/WEB-INF/classes/git.properties | jq -r '.["git.commit.id.describe"]')
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
- name: Generate dist files - name: Generate dist files
run: ./refine dist ${{ env.OR_VERSION }} run: mvn package -DskipTests=true
- name: Upload snapshot releases to OSSRH - name: Upload snapshot releases to OSSRH
run: mvn deploy -DskipTests=true run: mvn deploy -DskipTests=true

View File

@ -113,10 +113,6 @@
<artifactId>maven-clean-plugin</artifactId> <artifactId>maven-clean-plugin</artifactId>
<version>2.5</version> <version>2.5</version>
</plugin> </plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>
<plugin> <plugin>
<artifactId>maven-install-plugin</artifactId> <artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version> <version>2.5.2</version>