Skip to content

Commit

Permalink
Merge pull request glencoesoftware#246 from sbesson/appveyor_removal
Browse files Browse the repository at this point in the history
Add artifact publication step to GitHub workflow
  • Loading branch information
chris-allan authored Apr 23, 2024
2 parents 3986b69 + 99f2892 commit fca5108
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 26 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
runs-on: ${{ matrix.os }}
env:
gradle_commands: --stacktrace build
ArtifactoryUserName: ${{ secrets.JENKINS_USERNAME }}
ArtifactoryPassword: ${{ secrets.JENKINS_PASSWORD }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
Expand All @@ -36,3 +38,7 @@ jobs:
name: bioformats2raw ${{ matrix.java }}
path: build/distributions/*.zip
retention-days: 30
- name: Publish artifacts
if: github.event_name != 'pull_request' && matrix.java == 11
run: |
./gradlew -PArtifactoryUserName=${ArtifactoryUserName} -PArtifactoryPassword=${ArtifactoryPassword} publish
26 changes: 0 additions & 26 deletions appveyor.yml

This file was deleted.

0 comments on commit fca5108

Please sign in to comment.