Skip to content

Commit

Permalink
Document builtin Actions Artifacts (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherHX authored Dec 24, 2024
1 parent c004564 commit d1a6d08
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/usage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,3 +316,19 @@ or a `.actrc` file in your cwd like
```
--action-offline-mode
```
## Action Artifacts
**Currently is the artifacts server not started automatically with act**, this means the following env variables are blank by default.
- `ACTIONS_RUNTIME_URL`
- `ACTIONS_RUNTIME_TOKEN`
- `ACTIONS_RESULTS_URL`
to enable this feature use the cli flag `--artifact-server-path $PWD/.artifacts`.
While enabled these values are also available in `run` steps, which doesn't match `actions/runner` aka GitHub Actions where their are blank.
Currently `actions/upload-artifact@v3` and `actions/upload-artifact@v4` together with `actions/download-artifact@v3` and `actions/download-artifact@v4` should be able to upload and download their artifacts within the current workflow run.
Not supported v4 features are to download artifacts from a different run, workflow or repository by providing a GitHub Token.

0 comments on commit d1a6d08

Please sign in to comment.