We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
env
1 parent f837afb commit c72f5dbCopy full SHA for c72f5db
.github/workflows/publish-main.yml
@@ -1,23 +1,14 @@
1
-name: Publish main
+name: Test
2
3
on:
4
push:
5
- branches: [main]
6
7
jobs:
8
- publish:
+ test:
9
runs-on: ubuntu-latest
10
steps:
11
- - uses: actions/checkout@v4
12
- - name: '[node LTS] npm install'
13
- uses: ljharb/actions/node/install@main
14
- with:
15
- node-version: lts/*
16
- - run: npm run build
17
- - name: Publish to gh-pages
18
- uses: JamesIves/[email protected]
19
20
- branch: gh-pages
21
- folder: build
22
- clean-exclude: |
23
- pr
+ - run: echo "CUSTOM_FOO=foo" >> "$GITHUB_ENV"
+ - env:
+ CUSTOM_BAR: ${{ env.CUSTOM_FOO }}
+ CUSTOM_BAZ: "::${{ env.CUSTOM_FOO }}::"
+ run: "env | grep CUSTOM_"
0 commit comments