From 8c1be7329131a39d09009da2997d1ba96a21e237 Mon Sep 17 00:00:00 2001 From: Peter Hirn Date: Wed, 2 Oct 2024 04:42:52 +0200 Subject: [PATCH] chore: map env --- .github/workflows/bench.yml | 3 ++- .github/workflows/check.yml | 9 +++++++++ .github/workflows/pages.yml | 3 ++- .github/workflows/release-please.yml | 1 + 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index c041aaa..f9c7094 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -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 diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index c73d7a8..a3c9d21 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -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 diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 89e4f77..9c71808 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -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 diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 09aab06..bde6413 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -14,6 +14,7 @@ permissions: jobs: release-please: runs-on: ubuntu-latest + if: false steps: - uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f # v4 id: release