Skip to content

Commit

Permalink
chore: map env
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhirn committed Oct 2, 2024
1 parent 2c77ffc commit 8c1be73
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ on:

jobs:
bench:
if: ${{ github.event_name == 'workflow_dispatch' || startsWith(github.event.head_commit.message, 'release:') }}
#if: ${{ github.event_name == 'workflow_dispatch' || startsWith(github.event.head_commit.message, 'release:') }}
if: false
runs-on: ubuntu-latest
steps:
- name: Bench
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ jobs:
# echo hello
# echo more lines

- name: Set Env
run: echo "FOO=bar" >> ${GITHUB_ENV}

- name: Env
run: echo ${{ toJson(env) }}

- name: Foo
run: echo ${{ format('-e {0}', env) }}

- name: Alpine
id: alpine
uses: docker://alpine:latest
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ on:

jobs:
pages:
if: ${{ !startsWith(github.event.head_commit.message, 'release:') }}
#if: ${{ !startsWith(github.event.head_commit.message, 'release:') }}
if: false
runs-on: ubuntu-24.04
permissions:
pages: write
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ permissions:
jobs:
release-please:
runs-on: ubuntu-latest
if: false
steps:
- uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f # v4
id: release
Expand Down

0 comments on commit 8c1be73

Please sign in to comment.