Skip to content

Commit

Permalink
Removed unnecessary declarations form site.properties file (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
Harsh4902 authored Apr 8, 2024
1 parent e21e020 commit b76f9bf
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: build

on:
push:
pull_request:

jobs:
build:
runs-on: ${{ matrix.os }}
Expand All @@ -20,22 +18,17 @@ jobs:
with:
java-version: 11
distribution: "adopt"

- name: build jpf-core
run:
cd $HOME/work/jpf-nhandler;
git clone https://github.com/javapathfinder/jpf-core.git;
cd jpf-core;
./gradlew build

- name: create site.properties file
run:
mkdir $HOME/.jpf;
echo "jpf-core = ${HOME}/work/jpf-nhandler/jpf-core" >> $HOME/.jpf/site.properties;
echo "jpf-numeric = ${HOME}/work/jpf-nhandler/jpf-numeric" >> $HOME/.jpf/site.properties;
echo "jpf-aprop = ${HOME}/work/jpf-nhandler/jpf-aprop" >> $HOME/.jpf/site.properties;
echo "extensions=${HOME}/work/jpf-nhandler/jpf-core,${HOME}/work/jpf-nhandler/jpf-aprop" >> $HOME/.jpf/site.properties;
echo "jpf-nhandler = ${HOME}/work/jpf-nhandler/jpf-nhandler" >> $HOME/.jpf/site.properties
echo "extensions=${HOME}/work/jpf-nhandler/jpf-core" >> $HOME/.jpf/site.properties;

- name: Build and test jpf-nhandler
run:
Expand Down

0 comments on commit b76f9bf

Please sign in to comment.