-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7bf42c2
commit 2593de8
Showing
57 changed files
with
82 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: Build Workflow | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'adopt' # Optional, you can choose other JDK providers (e.g., zulu) | ||
java-version: '17' | ||
|
||
- name: Build with Maven | ||
run: mvn package | ||
|
||
- name: Create EXE using Launch4j | ||
run: | | ||
curl -L https://github.com/launch4j/launch4j/releases/download/3.14/launch4j-3.14-win32.msi --output launch4j.msi | ||
msiexec /i launch4j.msi /quiet | ||
launch4j --output target/MDCstudentSIMULATOR.exe --jar target/gs-maven-0.1.0.jar --outfile target/MDCstudentSIMULATOR.exe | ||
shell: bash | ||
|
||
- name: Upload EXE artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: app_executable | ||
path: target/MDCstudentSIMULATOR.exe | ||
|
||
- name: Create Release | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ github.ref_name }} | ||
release_name: "Release ${{ github.ref_name }}" | ||
body: "Release created by GitHub Actions" | ||
draft: false | ||
prerelease: false | ||
|
||
- name: Upload Release Asset | ||
id: upload-release-asset | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: target/MDCstudentSIMULATOR.exe | ||
asset_name: MDCstudentSIMULATOR.exe | ||
asset_content_type: application/octet-stream |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
hi: | ||
java -jar target/gs-maven-0.1.0-shaded.jar | ||
mvn package | ||
java -jar target/gs-maven-0.1.0.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
32 changes: 16 additions & 16 deletions
32
target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
C:\Users\Sledgehammer\MDCstudentSIMULATOR\src\main\java\hello\GameStart.java | ||
C:\Users\Sledgehammer\MDCstudentSIMULATOR\src\main\java\hello\WhereThingsHappen.java | ||
C:\Users\Sledgehammer\MDCstudentSIMULATOR\src\main\java\hello\Study.java | ||
C:\Users\Sledgehammer\MDCstudentSIMULATOR\src\main\java\hello\Party.java | ||
C:\Users\Sledgehammer\MDCstudentSIMULATOR\src\main\java\hello\WhichCharacter.java | ||
C:\Users\Sledgehammer\MDCstudentSIMULATOR\src\main\java\hello\playermusic.java | ||
C:\Users\Sledgehammer\MDCstudentSIMULATOR\src\main\java\hello\Lecture.java | ||
C:\Users\Sledgehammer\MDCstudentSIMULATOR\src\main\java\hello\PausablePlayer.java | ||
C:\Users\Sledgehammer\MDCstudentSIMULATOR\src\main\java\hello\VideoGame.java | ||
C:\Users\Sledgehammer\MDCstudentSIMULATOR\src\main\java\hello\LosingScreen.java | ||
C:\Users\Sledgehammer\MDCstudentSIMULATOR\src\main\java\hello\StudentSimulator.java | ||
C:\Users\Sledgehammer\MDCstudentSIMULATOR\src\main\java\hello\CharacterSelect.java | ||
C:\Users\Sledgehammer\MDCstudentSIMULATOR\src\main\java\hello\StretchIcon.java | ||
C:\Users\Sledgehammer\MDCstudentSIMULATOR\src\main\java\hello\MainWindow.java | ||
C:\Users\Sledgehammer\MDCstudentSIMULATOR\src\main\java\hello\levels.java | ||
C:\Users\Sledgehammer\MDCstudentSIMULATOR\src\main\java\hello\WinningScreen.java | ||
C:\Users\stapm\cm\MDCstudentSIMULATOR\src\main\java\hello\CharacterSelect.java | ||
C:\Users\stapm\cm\MDCstudentSIMULATOR\src\main\java\hello\GameStart.java | ||
C:\Users\stapm\cm\MDCstudentSIMULATOR\src\main\java\hello\Lecture.java | ||
C:\Users\stapm\cm\MDCstudentSIMULATOR\src\main\java\hello\levels.java | ||
C:\Users\stapm\cm\MDCstudentSIMULATOR\src\main\java\hello\LosingScreen.java | ||
C:\Users\stapm\cm\MDCstudentSIMULATOR\src\main\java\hello\MainWindow.java | ||
C:\Users\stapm\cm\MDCstudentSIMULATOR\src\main\java\hello\Party.java | ||
C:\Users\stapm\cm\MDCstudentSIMULATOR\src\main\java\hello\PausablePlayer.java | ||
C:\Users\stapm\cm\MDCstudentSIMULATOR\src\main\java\hello\playermusic.java | ||
C:\Users\stapm\cm\MDCstudentSIMULATOR\src\main\java\hello\StretchIcon.java | ||
C:\Users\stapm\cm\MDCstudentSIMULATOR\src\main\java\hello\StudentSimulator.java | ||
C:\Users\stapm\cm\MDCstudentSIMULATOR\src\main\java\hello\Study.java | ||
C:\Users\stapm\cm\MDCstudentSIMULATOR\src\main\java\hello\VideoGame.java | ||
C:\Users\stapm\cm\MDCstudentSIMULATOR\src\main\java\hello\WhereThingsHappen.java | ||
C:\Users\stapm\cm\MDCstudentSIMULATOR\src\main\java\hello\WhichCharacter.java | ||
C:\Users\stapm\cm\MDCstudentSIMULATOR\src\main\java\hello\WinningScreen.java |
This file was deleted.
Oops, something went wrong.