Skip to content

obdasystems/github-action-upload-bintray

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-action-upload-bintray

Github action to upload files to JFrog Bintray via the Bintray REST API.

Example

name: Example workflow yml

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1

    - name: Upload deb package to Bintray
      uses: bpicode/github-action-upload-bintray@master
      with:
        file: ./path/to/example-package_1.0_amd64.deb
        api_user: example-user
        api_key: ${{ secrets.BINTRAY_API_KEY }} # An API key can be obtained from the user profile page.
        gpg_passphrase: ${{ secrets.BINTRAY_GPG_PASSPHRASE }} # Optional, for this to work Bintray requires a GPG public/private keypair configured for the repository owner (individual or organization).
        repository_user: example-user
        repository: my_repository
        package: example-package
        version: '1.0'
        upload_path: pool/main/m # Typical for debian repository layout
        publish: 1
        calculate_metadata: true # Schedule metadata calculation after upload
        deb_distribution: stretch,buster,sid
        deb_component: main
        deb_architecture: amd64

Inputs and Outputs

See action.yml.

Feedback, Suggestions, Contributions, Known Limitations

Feel free to file an issue, open a pull request, etc.

About

Github action to upload files to JFrog Bintray

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 81.6%
  • Dockerfile 18.4%