Skip to content

Commit

Permalink
use GH_REF
Browse files Browse the repository at this point in the history
  • Loading branch information
ZainRizvi committed Apr 19, 2023
1 parent 8035d21 commit e4a6f6c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/atest.yml
Expand Up @@ -20,15 +20,15 @@ jobs:
GH_SHA: ${{ github.sha }}
GH_REF: ${{ github.ref_name }}
steps:
- name: Checkout PyTorch
uses: pytorch/pytorch/.github/actions/checkout-pytorch@main
# - name: Checkout PyTorch
# uses: pytorch/pytorch/.github/actions/checkout-pytorch@main

- name: "print stuff"
run: |
git tag --points-at ${GH_SHA}
# - name: "print stuff"
# run: |
# git tag --points-at ${GH_SHA}
- name: "print GH_REF"
run: |
echo ${GH_REF}
echo ${PR_NUMBER}
- name: "print PR_NUMBER"
run: |
echo ${PR_NUMBER}
Expand Down

0 comments on commit e4a6f6c

Please sign in to comment.