Skip to content

Commit 4fa51e2

Browse files
authored
Branch was updated using the 'autoupdate branch' Actions workflow.
2 parents 0a3657f + b28bf10 commit 4fa51e2

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

content/actions/learn-github-actions/managing-complex-workflows.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,13 @@ This example action demonstrates how to reference an existing secret as an envir
2424
```yaml
2525
jobs:
2626
example-job:
27+
runs-on: ubuntu-latest
2728
steps:
2829
- name: Retrieve secret
2930
env:
3031
super_secret: ${{ secrets.SUPERSECRET }}
3132
run: |
32-
example-command "$SUPER_SECRET"
33+
example-command "$super_secret"
3334
```
3435
{% endraw %}
3536
@@ -49,6 +50,7 @@ jobs:
4950
- run: ./setup_server.sh
5051
build:
5152
needs: setup
53+
runs-on: ubuntu-latest
5254
steps:
5355
- run: ./build_server.sh
5456
test:
@@ -141,7 +143,7 @@ This example shows how a workflow can use labels to specify the required runner:
141143
```yaml
142144
jobs:
143145
example-job:
144-
runs-on: [self-hosted, linux, x64, gpu]
146+
runs-on: [self-hosted, linux, x64, gpu]
145147
```
146148

147149
For more information, see ["Using labels with self-hosted runners](/actions/hosting-your-own-runners/using-labels-with-self-hosted-runners)."

0 commit comments

Comments
 (0)