tarkleHQ/upload-action uploads one or more files from a
workflow run to Tarkle and returns a shareable link – for sharing a build, a report or a release
candidate straight from CI, without writing any API calls yourself. It wraps
@tarkle/cli and the Transfers API
directly, so it stays in step with the API itself.
Quick start
- Create an API key at Settings → API and save it as a repository secret (for example
TARKLE_API_KEY). Save your workspace key (shown on the same page) as a second secret (TARKLE_WORKSPACE). - Add a step to your workflow:
- name: Share the build
id: tarkle
uses: tarkleHQ/upload-action@v1
with:
api-key: ${{ secrets.TARKLE_API_KEY }}
workspace: ${{ secrets.TARKLE_WORKSPACE }}
files: dist/application.zip
duration: 7d
- name: Print the share link
run: echo "${{ steps.tarkle.outputs.url }}"- The step’s outputs (
url,id,expires-at,result) are available to later steps, a job summary, or a PR comment.
Password-protected and one-time links
- uses: tarkleHQ/upload-action@v1
with:
api-key: ${{ secrets.TARKLE_API_KEY }}
workspace: ${{ secrets.TARKLE_WORKSPACE }}
files: build/release.zip
password: ${{ secrets.RELEASE_PASSWORD }}
burn-after-read: trueSee the Action’s own README for the full inputs and outputs reference, including uploading into a specific library folder and handling several files at once.
Security
Pin the Action to a full commit SHA (uses: tarkleHQ/upload-action@<sha>) instead of the v1 tag when
your workflow runs on untrusted input, such as a fork’s pull request – the same guidance any third-party
Action deserves. The Action never logs your API key or password; file bytes go straight to Tarkle’s object
storage through short-lived presigned URLs, the same engine this API’s own uploads use.