Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Latest commit

 

History

History
41 lines (30 loc) · 1.1 KB

README.md

File metadata and controls

41 lines (30 loc) · 1.1 KB

autojitpack@v1

I hate it when I update a dependency version and it failed to sync because JitPack still building the package.

Example

You'd probably want to use this action on a release event.

on:
  release:
    types: [published]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: badasintended/autojitpack@v1
        with:
          version: ${{ github.event.release.tag_name }}

Inputs

version

Required: yes
Current tag (or commit hash if you are that type of person.) Unlike v0 that use git ref and shitty regex to resolve the package, now it requires you to manually input the version yourself.

timeout

Required: yesn't
Default: -1
Amount of time in milisecond the request will wait to abort itself. If set to -1, it'll wait for JitPack to finish building the package. Or it'll timeout regardless, idk. Either way your user wont need to waste another click to resync your package.