Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
export VERSION=$(cat version.sbt | cut -d '"' -f2 | sed 's/-SNAPSHOT//g')
echo "version: $VERSION"
echo "::set-output name=APP_VERSION::$VERSION"
- uses: sbt/setup-sbt@v1
- name: Create Dockerfile
run: sbt "Docker / stage"
- name: Publish to Docker Hub
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pr_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- uses: sbt/setup-sbt@v1
- name: Format code
run: |
sbt scalafmtAll
Expand Down Expand Up @@ -49,6 +50,7 @@ jobs:
with:
distribution: 'temurin'
java-version: '21'
- uses: sbt/setup-sbt@v1
- name: Clean and Compile
run: sbt clean compile

Expand All @@ -62,6 +64,7 @@ jobs:
with:
distribution: 'temurin'
java-version: '21'
- uses: sbt/setup-sbt@v1
- name: Test
run: sbt test

10 changes: 1 addition & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
- uses: sbt/setup-sbt@v1
- name: Release
run: sbt "release with-defaults"
env:
Expand All @@ -50,13 +51,4 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ steps.get-latest-tag.outputs.LATEST_TAG }}
#
# deploy:
# needs: dockerPublish
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Deploy to server
# run: |
# curl ${{ secrets.SERVER_URL }} -H "X-Api-Key: ${{ secrets.DEPLOY_API_KEY }}"

Loading