Skip to content

ahnafnafee/action-upload-gofile

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

80 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Gofile.io Logo

πŸ“¦ action-upload-gofile

The ultimate Gofile Upload GitHub Action. Easily upload files to Gofile.io using this uploader.


πŸ“ Description

This action serves as a robust Gofile Uploader for your CI/CD pipelines. If you need to upload to Gofile automatically, this Gofile API upload example demonstrates how to integrate file sharing seamlessly into your workflow.

πŸ“₯ Inputs

Name Type Description
token String Gofile API access token [optional]
file File File to upload on Gofile

πŸ“€ Outputs

Name Type Description
url String Generated URL
qrcode String Generated QR Code

πŸ” Environment Variables

The following are required as step.env keys

Name Description
GOFILE_TOKEN API token generated from Gofile [optional]

πŸš€ Usage

steps:
    - name: Upload File
      id: gofile
      uses: ahnafnafee/action-upload-gofile@v3.0.0
      with:
          token: ${{ secrets.GOFILE_TOKEN }}
          file: ./example.webp

    - name: View URL and QR Code
      run: |
          echo "Gofile URL = ${{ steps.gofile.outputs.url }}" 
          echo "Gofile QR Code = ${{ steps.gofile.outputs.qrcode }}"

πŸ“¦ Publishing a New Version

To publish a new version of this Action:

  1. Update Version: Bump the version number in package.json.
  2. Build: Run the build command to update the dist folder:
    yarn run all
  3. Commit: Commit the changes, including the updated dist folder and package.json.
  4. Tag: Create a new git tag for the release (e.g., v2.2.0) and push it.
  5. Release: Create a GitHub Release pointing to the new tag.

Note: Ensure the major version tag (e.g., v2) is updated to point to the latest release commit so users on @v2 get the update automatically.

πŸ‘ Credits

This action extends the wonderful work done by @rnkdsh at rnkdsh/action-upload-diawi

πŸ› Report Bugs

Report bugs at https://github.com/ahnafnafee/action-upload-gofile/issues.

If you are reporting a bug, please include:

  • Your operating system name and version.
  • Any details about your workflow that might be helpful in troubleshooting.
  • Detailed steps to reproduce the bug.

πŸ“„ License

πŸ’– Support

If you feel generous and want to show some extra appreciation:

ahnafnafee

Sponsor this project

  •  

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%