-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from skyinr/new
dg修复
- Loading branch information
Showing
3 changed files
with
50 additions
and
15 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 |
---|---|---|
|
@@ -32,12 +32,12 @@ jobs: | |
|
||
- name: Cache | ||
if: always() | ||
uses: actions/cache@v3.0.11 | ||
uses: actions/cache@v3 | ||
with: | ||
# A list of files, directories, and wildcard patterns to cache and restore | ||
path: ~/.cache | ||
# An explicit key for restoring and saving the cache | ||
key: Gradle-Cache | ||
path: build/**/* | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
- name: Run DataGen | ||
run: gradle runData -q | ||
|
@@ -56,10 +56,12 @@ jobs: | |
if: always() | ||
run: gradle build -q | ||
|
||
- name: Upload To Github Release | ||
- name: Upload files to a GitHub release | ||
if: always() | ||
uses: xresloader/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
uses: svenstaro/[email protected] | ||
with: | ||
file: "./build/libs/*.jar" | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
tag: ${{ github.ref }}-Alpha | ||
file: build/libs/*.jar | ||
overwrite: true | ||
file_glob: true |
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
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