forked from edoren/SkinChanger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
41 lines (34 loc) · 1 KB
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Specify version format
version: "{build}-{branch}"
# Build worker image (VM template)
image: Visual Studio 2019
# Build platform, i.e. Win32, x64.
platform:
- x64
# Do not build feature branch with open Pull Requests
skip_branch_with_pr: true
# Scripts that run after cloning repository
install:
- cmd: set JAVA_HOME=C:\Program Files\Java\jdk17
- cmd: set PATH=%JAVA_HOME%;%PATH%
build_script:
- java -version
- ./gradlew build --stacktrace
artifacts:
- path: build\libs\*.jar
name: JarFile
type: jar
deploy:
tag: $(APPVEYOR_REPO_TAG_NAME)
provider: GitHub
release: Release $(APPVEYOR_REPO_TAG_NAME)
description: |
Created automatically by AppVeyor.
https://ci.appveyor.com/project/edoren/skinchanger/builds/$(APPVEYOR_BUILD_ID)
auth_token:
secure: +E13X50wp6z30yW/pAm/gAzPgXMmz5t0deuGMKJN6wY8UkZn2xx9m/yYqvQ6nz6/
artifact: /.*\.(jar)/
force_update: true
on:
# https://www.appveyor.com/docs/deployment/#deploy-on-tag-github-and-gitlab-only
APPVEYOR_REPO_TAG: true