Skip to content

Commit

Permalink
Checkout repo at ref that triggered workflow run.
Browse files Browse the repository at this point in the history
  • Loading branch information
Arlodotexe committed Sep 10, 2024
1 parent 952b239 commit a9cb1b6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive
ref: ${{ github.ref }}

# Restore Tools from Manifest list in the Repository
- name: Restore dotnet tools
Expand Down Expand Up @@ -105,6 +106,7 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive
ref: ${{ github.ref }}

# Restore Tools from Manifest list in the Repository
- name: Restore dotnet tools
Expand Down Expand Up @@ -227,6 +229,7 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive
ref: ${{ github.ref }}

# Semver regex: https://regex101.com/r/Ly7O1x/3/
- name: Format Date/Time of Release Package Version
Expand Down Expand Up @@ -425,6 +428,7 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive
ref: ${{ github.ref }}

# Restore Tools from Manifest list in the Repository
- name: Restore dotnet tools
Expand Down

0 comments on commit a9cb1b6

Please sign in to comment.