Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dianlight authored Dec 21, 2024
1 parent dfc0d0f commit aaedbba
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,35 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}


- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Dump job context
env:
JOB_CONTEXT: ${{ toJson(job) }}
run: echo "$JOB_CONTEXT"
- name: Dump steps context
env:
STEPS_CONTEXT: ${{ toJson(steps) }}
run: echo "$STEPS_CONTEXT"
- name: Dump runner context
env:
RUNNER_CONTEXT: ${{ toJson(runner) }}
run: echo "$RUNNER_CONTEXT"
- name: Dump strategy context
env:
STRATEGY_CONTEXT: ${{ toJson(strategy) }}
run: echo "$STRATEGY_CONTEXT"
- name: Dump matrix context
env:
MATRIX_CONTEXT: ${{ toJson(matrix) }}
run: echo "$MATRIX_CONTEXT"

- name: Extract branch name
shell: bash
run: echo "BR_PROJECT=$(TMP=${{github.ref_name}};echo ${TMP##*/})" >> "$GITHUB_OUTPUT"
run: echo "BR_PROJECT=$(TMP=${{github.head_ref}};echo ${TMP##*/})" >> "$GITHUB_OUTPUT"
id: extract_branch

- name: Publish ${{ steps.extract_branch.outputs.BR_VERSION }} Addon
Expand Down

0 comments on commit aaedbba

Please sign in to comment.