Skip to content

Commit

Permalink
Adjust instructions in Readme
Browse files Browse the repository at this point in the history
* update information on how to create a token
* add information on how to copy or use the workflow file
  • Loading branch information
justahero committed Oct 28, 2024
1 parent cc5b920 commit 2935f3c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ Some highlights about CriticalUp and the project manifest:

### Get the CriticalUp Token to authenticate

- To install any Ferrocene product/toolchain, you will need to get a token from the [Ferrocene Customer Portal]. This token can be created by you or your organization's liason admin.
- To install any Ferrocene product/toolchain, you will need to get a token from the [Ferrocene Customer Portal].
This token can be created in your account.
- The tokens are at the [Ferrocene CriticalUp Tokens] section of the portal.
- Once you are on the page, click "New Token" and copy the token.
- Once you are on the page, click "New Token", provide a memorable title for it, and once generated copy the token.
- The token is only shown once for security.

### Add the CriticalUp Token to GitHub Action secrets
Expand All @@ -58,9 +59,12 @@ The CriticalUp Token you got from the [Ferrocene Customer Portal] must be set in

### Create a simple GitHub Action

You can see the [`build.yml`] file for a fully working sample for this demo project.
An example of a fully working Github CI workflow file can be found in the workflow file [`build.yml`] of this demo project.

- We will use a single job so we don't need to cache anything. The job will have multiple steps.
- When no workflow file in your project exists, copy the `build.yml` into the folder `.github/workflows`, otherwise
copy the CI job `install-criticalup-build-run-my-app` into your existing workflow file.
- Adapt the workflow if necessary, for example to compile the project instead of run it.
- We will use a single job so we don't need to cache anything. The job consists of multiple steps.
- We will showcase only Ubuntu 20.04 in this exercise.

#### Install CriticalUp
Expand Down

0 comments on commit 2935f3c

Please sign in to comment.