The ultimate Gofile Upload GitHub Action. Easily upload files to Gofile.io using this uploader.
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.
| Name | Type | Description |
|---|---|---|
token |
String | Gofile API access token [optional] |
file |
File | File to upload on Gofile |
| Name | Type | Description |
|---|---|---|
url |
String | Generated URL |
qrcode |
String | Generated QR Code |
The following are required as step.env keys
| Name | Description |
|---|---|
GOFILE_TOKEN |
API token generated from Gofile [optional] |
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 }}"To publish a new version of this Action:
- Update Version: Bump the version number in
package.json. - Build: Run the build command to update the
distfolder:yarn run all
- Commit: Commit the changes, including the updated
distfolder andpackage.json. - Tag: Create a new git tag for the release (e.g.,
v2.2.0) and push it. - 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.
This action extends the wonderful work done by @rnkdsh at rnkdsh/action-upload-diawi
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.
If you feel generous and want to show some extra appreciation:
