Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.
/ autojitpack Public archive

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

License

Notifications You must be signed in to change notification settings

badasintended/autojitpack

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published