Skip to content
play

GitHub Action

Upload a Build Artifact to Citrix ShareFile

v1.4 Latest version

Upload a Build Artifact to Citrix ShareFile

play

Upload a Build Artifact to Citrix ShareFile

Upload build artifacts to a specified destination on ShareFile

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Upload a Build Artifact to Citrix ShareFile

uses: nichevision/sharefile-upload-artifact@v1.4

Learn more about this action in nichevision/sharefile-upload-artifact

Choose a version

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.