Skip to content

Commit

Permalink
Fix GitHub creds in CI build
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <[email protected]>
  • Loading branch information
pditommaso committed Dec 22, 2022
1 parent 75e6503 commit a68f52c
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ jobs:
fetch-depth: 1
submodules: true

- name: Setup env
run: |
rm -f $HOME/.gitconfig;
mkdir -p "$HOME/.nextflow";
echo "providers.github.auth='$NXF_GITHUB_ACCESS_TOKEN'" > "$HOME/.nextflow/scm"
- name: Setup Java ${{ matrix.java_version }}
uses: actions/setup-java@v3
with:
Expand Down Expand Up @@ -77,6 +71,11 @@ jobs:
with:
fetch-depth: 1
submodules: true
- name: Setup env
run: |
rm -f $HOME/.gitconfig;
mkdir -p "$HOME/.nextflow";
echo "providers.github.auth='$NXF_GITHUB_ACCESS_TOKEN'" > "$HOME/.nextflow/scm"
- name: Run tests
run: |
make assemble install
Expand Down

0 comments on commit a68f52c

Please sign in to comment.