Skip to content

Commit

Permalink
testing the issue-678 (1)
Browse files Browse the repository at this point in the history
  • Loading branch information
suyashgaonkar committed Aug 30, 2024
1 parent 6fcd4c7 commit ce1e884
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/test-issue-678.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
#testing the issue-678 (1)
name: Build Project

on:
push:
branches: suyashgaonkar-issue678
pull_request:
branches: [ master, ver/* ]

workflow_dispatch:

jobs:
test-docker:
runs-on: ubuntu-latest
container: docker:cli
steps:
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
- name: Execute Java
run: |
which java
type java
echo $JAVA_HOME
echo $PATH
java --help
test-ubuntu:
runs-on: ubuntu-latest
container: ubuntu:latest
steps:
- name: Install docker and docker-compose
run: |
apt -y update
apt -y install sudo curl
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh ./get-docker.sh
apt-get install docker-compose-plugin
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
- name: Execute Java
run: |
which java
type java
echo $JAVA_HOME
echo $PATH
java --help

0 comments on commit ce1e884

Please sign in to comment.