Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin0313 committed Aug 25, 2024
1 parent e9dca3d commit 6c2d9d8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/workflows/env.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Enviroment variables
on: push
jobs:
run:
runs-on: ubuntu-latest
env:
BRANCH: main
steps:
- run: echo "${BRANCH}"
- uses: actions/checkout@v4
with:
ref: ${{ env.BRANCH }}
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ jobs:
runs-on: ubuntu-latest
steps:
- run: echo "Hello world"
- uses: actions/checkout@v4
- run: echo "${{ github.actor }}"

0 comments on commit 6c2d9d8

Please sign in to comment.