Skip to content

Commit

Permalink
Update manual for version v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Marko Petric committed Feb 19, 2021
1 parent bbbb107 commit 0842c4f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ This GitHub Action executes user payload code inside a LCG view environment, spe
## Instructions

### Prerequisites
This action depends on the user to call the companion action `uses: cvmfs-contrib/github-action-cvmfs@v2` before using `uses: aidasoft/run-lcg-view@v1`, which will install CVMFS on the node. GitHub Actions currently do not support calling the action `github-action-cvmfs` from within `run-lcg-view`, this needs to be done explicitly by the user.
This action depends on the user to call the companion action `uses: cvmfs-contrib/github-action-cvmfs@v2` before using `uses: aidasoft/run-lcg-view@v2`, which will install CVMFS on the node. GitHub Actions currently do not support calling the action `github-action-cvmfs` from within `run-lcg-view`, this needs to be done explicitly by the user.

### Example

You can use this GitHub Action in a workflow in your own repository with `uses: aidasoft/run-lcg-view@v1`.
You can use this GitHub Action in a workflow in your own repository with `uses: aidasoft/run-lcg-view@v2`.

A minimal job example for GitHub-hosted runners of type `ubuntu-latest`:
```yaml
Expand All @@ -20,7 +20,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: cvmfs-contrib/github-action-cvmfs@v2
- uses: aidasoft/run-lcg-view@v1
- uses: aidasoft/run-lcg-view@v2
with:
release-platform: "LCG_99/x86_64-centos7-gcc10-opt"
run: |
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
- uses: cvmfs-contrib/github-action-cvmfs@v2
with:
cvmfs_repositories: 'sft.cern.ch,geant4.cern.ch'
- uses: aidasoft/run-lcg-view@v1
- uses: aidasoft/run-lcg-view@v2
with:
release-platform: "LCG_99/x86_64-mac1015-clang120-opt"
run: |
Expand Down

0 comments on commit 0842c4f

Please sign in to comment.