Skip to content

Commit

Permalink
exclude act steps when on github
Browse files Browse the repository at this point in the history
  • Loading branch information
haaase committed Mar 26, 2024
1 parent a89ec8c commit 5cebc12
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/scala.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ jobs:
java-version: '17'
distribution: 'temurin'
cache: 'sbt'
- run: curl -fL https://github.com/coursier/coursier/releases/latest/download/cs-x86_64-pc-linux.gz | gzip -d > cs && chmod +x cs && ./cs setup --yes --install-dir /usr/bin --apps sbt
- run: curl -fL https://github.com/coursier/coursier/releases/latest/download/cs-x86_64-pc-linux.gz | gzip -d > cs && chmod +x cs && ./cs setup --yes --install-dir ~/.local/bin --apps sbt
if: ${{ env.ACT }}
- run: echo "$HOME/.local/bin" >> $GITHUB_PATH
if: ${{ env.ACT }}
- name: Run tests
run: sbt test
# Optional: This step uploads information to the GitHub dependency graph and unblocking Dependabot alerts for the repository
Expand Down

0 comments on commit 5cebc12

Please sign in to comment.