Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/GIGABAIT93/VCMI
Browse files Browse the repository at this point in the history
  • Loading branch information
GIGABAIT93 committed Nov 29, 2023
2 parents d8bf38e + 85b511d commit c6f62c6
Show file tree
Hide file tree
Showing 12 changed files with 37 additions and 299 deletions.
34 changes: 0 additions & 34 deletions .github/workflows/maven-publish.yml

This file was deleted.

38 changes: 37 additions & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,55 @@ jobs:

steps:
- uses: actions/checkout@v3

- name: Create Tag
id: create_tag
run: echo "RELEASE_TAG=$(date +'%Y-%m-%d-%H-%M')" >> $GITHUB_ENV


- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven


- name: Build with Maven
run: mvn -B package --file pom.xml

- name: Find JAR File
id: find_jar
run: echo "JAR_PATH=$(ls /home/runner/work/VCMI/VCMI/target/VCMI-*.jar)" >> $GITHUB_ENV


# output jar
- name: Upload Artifacts
uses: actions/[email protected]
with:
name: VCMI
path: /home/runner/work/VCMI/VCMI/target/VCMI-*.jar


- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.RELEASE_TAG }}
release_name: DEV ${{ env.RELEASE_TAG }}
draft: false
prerelease: true


- name: 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: ${{ env.JAR_PATH }}
asset_name: VCMI.jar
asset_content_type: application/java-archive


8 changes: 0 additions & 8 deletions .idea/.gitignore

This file was deleted.

29 changes: 0 additions & 29 deletions .idea/artifacts/VCMI_jar.xml

This file was deleted.

13 changes: 0 additions & 13 deletions .idea/compiler.xml

This file was deleted.

9 changes: 0 additions & 9 deletions .idea/encodings.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/inspectionProfiles/Project_Default.xml

This file was deleted.

40 changes: 0 additions & 40 deletions .idea/jarRepositories.xml

This file was deleted.

19 changes: 0 additions & 19 deletions .idea/misc.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

124 changes: 0 additions & 124 deletions .idea/uiDesigner.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

0 comments on commit c6f62c6

Please sign in to comment.