Skip to content

Commit

Permalink
Update publish secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
apascali-1A committed Nov 17, 2023
1 parent 112b45b commit 3797fd0
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions .github/workflows/scala-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,31 +23,17 @@ jobs:
- name: Build with sbt
run: sbt compile

test:
runs-on: ubuntu-latest

needs: build

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Java 8
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '8'

- name: Test with sbt
run: sbt test

# Optional: This step uploads information to the GitHub dependency graph and unblocking Dependabot alerts for the repository
- name: Upload dependency graph
uses: scalacenter/sbt-dependency-submission@ab086b50c947c9774b70f39fc7f6e20ca2706c91

publish:
runs-on: ubuntu-latest

needs: test
needs: [ build ]

steps:
- name: Checkout repository
Expand All @@ -60,4 +46,6 @@ jobs:
java-version: '8'

- name: Publish with sbt
run: sbt +publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: sbt +publish

0 comments on commit 3797fd0

Please sign in to comment.