We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4240f85 commit 3b48cf5Copy full SHA for 3b48cf5
.github/workflows/ci.yml
@@ -28,3 +28,28 @@ jobs:
28
cache: 'maven'
29
- name: Run tests
30
run: mvn test --file pom.xml
31
+
32
33
+ snapshot:
34
35
+ needs: test
36
37
+ runs-on: ubuntu-latest
38
39
+ steps:
40
+ - name: checkout
41
+ uses: actions/checkout@v3
42
+ - name: set up Java
43
+ uses: actions/setup-java@v2
44
+ with:
45
+ distribution: 'zulu'
46
+ java-version: ${{ inputs.javaLevel }}
47
+ server-id: central
48
+ server-username: MAVEN_USERNAME
49
+ server-password: MAVEN_PASSWORD
50
+ - name: Publish package
51
+ run: mvn -B deploy
52
+ env:
53
+ MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
54
+ MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
55
+ if: ${{ github.ref == 'refs/heads/master' && github.repository == 'jruby/jcodings' }}
0 commit comments