Skip to content

Commit

Permalink
Update gradle.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
froyo4u authored Feb 25, 2021
1 parent 586f324 commit a05951f
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,10 @@ jobs:
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build

- name: Upload a Build Artifact
uses: actions/[email protected]
with:
# Artifact name
name: # optional, default is artifact
# A file, directory or wildcard pattern that describes what to upload
path:
# The desired behavior if no files are found using the provided path.
Available Options:
warn: Output a warning but do not fail the action
error: Fail the action with an error message
ignore: Do not output any warnings or errors, the action does not fail

if-no-files-found: # optional, default is warn
# Duration after which artifact will expire in days. 0 means using default retention.

- name: Upload assets to a Release
uses: AButler/[email protected]
with:
files: 'build/to_upload/*'
# secrets.GITHUB_TOKEN
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a05951f

Please sign in to comment.