Skip to content
play

GitHub Action

Upload a Build Artifact to Nextcloud

v2.0.0 Latest version

Upload a Build Artifact to Nextcloud

play

Upload a Build Artifact to Nextcloud

Upload a build artifact to Nextcloud that can be used by subsequent workflow steps

Installation

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

              

- name: Upload a Build Artifact to Nextcloud

uses: trympet/[email protected]

Learn more about this action in trympet/nextcloud-artifacts-action

Choose a version

Nextcloud Artifact Upload Action

Upload artifacts to nextcloud and output a shareable URL.

How it looks:

image

Example:

Simple example. Globbing is supported.

on:
  pull_request:
  push:
jobs:
  build-test:
    name: Build & Test
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2                               # checkout the repo

      - name: Nextcloud Artifact
        uses: trympet/nextcloud-artifacts-action@v2
        with:
          name: 'my-artifact'                                   # Name of the artifact
          path: 'bin/**/*.exe'                                  # Globbing supported
          nextcloud-url: 'https://nextcloud.example.com'        # Nextcloud URL
          nextcloud-username: ${{ secrets.NEXTCLOUD_USERNAME }} # Username from repository secret
          nextcloud-password: ${{ secrets.NEXTCLOUD_PASSWORD }} # Password from repository secret