diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml index b2f71bd..27bbc55 100644 --- a/.github/workflows/dockerimage.yml +++ b/.github/workflows/dockerimage.yml @@ -31,12 +31,16 @@ jobs: runs-on: macos-latest steps: - uses: actions/checkout@v2 - - name: print + - name: github.ref run: echo "${{ github.ref}}" - - name: print + - name: github.head_ref run: echo "${{ github.head_ref }}" - - name: print - run: echo "${{ github }}" + - 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: Disk spase run: df -h - name: PWD