Skip to content

Commit

Permalink
github env (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
BulatSaif authored Jun 4, 2020
1 parent 8c17708 commit 89c3f63
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,12 @@ jobs:
- uses: actions/checkout@v2
- name: github.ref
run: echo "${{ github.ref}}"
- name: INDOCKER_IMAGE
run: echo "${{ env.INDOCKER_IMAGE }}"
- name: nproc
run: nproc
- name: github.ref == 'refs/heads/master'
run: echo "${{ github.ref == 'refs/heads/master' }}"
- name: startsWith( github.ref, 'refs/tags/' )
run: echo "${{ startsWith( github.ref, 'refs/tags/' ) }}"
- name: github.ref == 'refs/heads/master' || startsWith( github.ref, 'refs/tags/' )
run: echo "${{ github.ref == 'refs/heads/master' || startsWith( github.ref, 'refs/tags/' ) }}"
- name: github.head_ref
run: echo "${{ github.head_ref }}"
- name: github.base_ref
run: echo "${{ github.base_ref }}"
- name: github.event_name
run: echo "${{ github.event_name }}"
- name: Disk spase
run: df -h
- name: PWD
Expand Down

0 comments on commit 89c3f63

Please sign in to comment.