Skip to content
share

GitHub Action

Upload file to Mega

v1.0.1 Latest version

Upload file to Mega

share

Upload file to Mega

Upload file to Mega

Installation

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

              

- name: Upload file to Mega

uses: Siege-Wizard/[email protected]

Learn more about this action in Siege-Wizard/mega-upload

Choose a version

Upload file to Mega

This GitHub action allows you to upload a file to Mega.

Usage

- name: Upload README.md
  uses: Siege-Wizard/[email protected]
  with:
    file: README.md
  env:
    USERNAME: ${{ secrets.MEGA_USERNAME }}
    PASSWORD: ${{ secrets.MEGA_PASSWORD }}

Required Parameters:

  • file: The file that should be uploaded to anonfiles.com.

Environmetal variables:

  • USERNAME: Mega username, should be provided from a secret.
  • PASSWORD: Mega password, should be provided from a secret.

Outputs

  • url: Url of the uploaded file.