Skip to content

Latest commit

 

History

History
45 lines (39 loc) · 1.2 KB

README.md

File metadata and controls

45 lines (39 loc) · 1.2 KB

sharefile-upload-artifact action

This action uploads a build artifact to ShareFile, and creates a Share link as part of its output.

Usage

steps
    - uses: nichevision/sharefile-upload-artifact@v1
    with:
        path: |
         build/*.dll
         build/*.config
        exclude: '*.pdb'
        destination: releases/
        client-id: ${{ secrets.SHAREFILE_CLIENT_ID }}
        client-secret: ${{ secrets.SHAREFILE_CLIENT_SECRET }}
        username: ${{ secrets.SHAREFILE_USERNAME }}
        password: ${{ secrets.SHAREFILE_PASSWORD }}
        subdomain: 'mycompany'

Exclude multiple paths

steps
    - uses: nichevision/sharefile-upload-artifact@v1
    with:
        path: |
         build/*.dll
         build/*.config
        exclude: |
          *.pdb
          *.xml
        destination: releases/
        client-id: ${{ secrets.SHAREFILE_CLIENT_ID }}
        client-secret: ${{ secrets.SHAREFILE_CLIENT_SECRET }}
        username: ${{ secrets.SHAREFILE_USERNAME }}
        password: ${{ secrets.SHAREFILE_PASSWORD }}
        subdomain: 'mycompany'

Outputs

share-url

A url for the share created for the uploaded artifact. The user login must have permissions to share.