mirror of
https://github.com/TeamPiped/reqwest4j.git
synced 2024-08-14 23:54:39 +00:00
Only publish on tag.
This commit is contained in:
parent
9d2953693b
commit
9c3e6795ee
1 changed files with 5 additions and 4 deletions
9
.github/workflows/build-maven.yml
vendored
9
.github/workflows/build-maven.yml
vendored
|
@ -2,10 +2,8 @@ name: Build and Publish on Maven
|
|||
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
branches:
|
||||
- main
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
permissions:
|
||||
packages: write
|
||||
|
@ -16,6 +14,9 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
workspaces: |
|
||||
reqwest-jni
|
||||
- run: cargo install cross
|
||||
- name: set up JDK
|
||||
uses: actions/setup-java@v3
|
||||
|
|
Loading…
Reference in a new issue