Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update main.yml
Browse files Browse the repository at this point in the history
ThreeDeeJay authored Aug 10, 2024

Verified

This commit was signed with the committer’s verified signature. The key has expired.
mmarchini mary marchini
1 parent 8f7bb1d commit 0767f78
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -12,7 +12,15 @@ on:
workflow_dispatch:

env:
DSOALBranch: ${GITHUB_HEAD}}
DSOALBranch: ${GITHUB_HEAD_REF}}
DSOALBranch: ${GITHUB_REF}}
DSOALBranch: ${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}
DSOALBranch: ${GITHUB_HEAD:-${GITHUB_REF#refs/heads/}}
DSOALBranch: ${GITHUB_REF:-${GITHUB_REF#refs/heads/}}
DSOALBranch: ${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}
DSOALBranch: ${GITHUB_HEAD_REF:-${GITHUB_HEAD#refs/heads/}}
DSOALBranch: ${GITHUB_HEAD_REF:-${GITHUB_HEAD_REF#refs/heads/}}

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
@@ -25,14 +33,10 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4

# Runs a single command using the runners shell
- name: Run a one-line script
run: git clone --branch ${{env.DSOALBranch}} https://github.com/${{env.DSOALRepo}}.git .


# Runs a set of commands using the runners shell
- name: Run a multi-line script
run: |
echo A
echo B
echo 1 git clone --branch ${{env.DSOALBranch}} https://github.com/${{env.DSOALRepo}}.git .

0 comments on commit 0767f78

Please sign in to comment.