mirror of
https://github.com/TeamPiped/reqwest4j.git
synced 2024-08-14 23:54:39 +00:00
Initial commit
This commit is contained in:
commit
9d2953693b
17 changed files with 1770 additions and 0 deletions
31
.github/workflows/build-maven.yml
vendored
Normal file
31
.github/workflows/build-maven.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
name: Build and Publish on Maven
|
||||
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
branches:
|
||||
- main
|
||||
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- run: cargo install cross
|
||||
- name: set up JDK
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: 17
|
||||
distribution: temurin
|
||||
check-latest: true
|
||||
cache: "gradle"
|
||||
- name: Run Build
|
||||
run: ./gradlew publish
|
||||
env:
|
||||
USERNAME: ${{ github.actor }}
|
||||
TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Add table
Add a link
Reference in a new issue