-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Showing
9 changed files
with
297 additions
and
15,880 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
name: Close inactive issues | ||
|
||
on: | ||
schedule: | ||
- cron: "30 1 * * *" | ||
|
@@ -10,13 +11,17 @@ jobs: | |
issues: write | ||
pull-requests: write | ||
steps: | ||
- uses: actions/stale@v5 | ||
- name: Check for stale issues and pull requests | ||
uses: "pascalgn/[email protected]" | ||
with: | ||
days-before-issue-stale: 10 | ||
days-before-issue-close: 10 | ||
stale-issue-label: "stale" | ||
stale-issue-message: "This issue is stale because it has been open for 30 days with no activity." | ||
close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale." | ||
stale-issue-message: "This issue is stale because it has been open for 10 days with no activity." | ||
close-issue-message: "This issue was closed because it has been inactive for 10 days since being marked as stale." | ||
stale-pr-message: "This pull request is stale because it has not been updated for 10 days." | ||
close-pr-message: "This pull request was closed because it has been inactive for 10 days since being marked as stale." | ||
days-before-stale: 10 | ||
days-before-close: 10 | ||
days-before-pr-stale: -1 | ||
days-before-pr-close: -1 | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
stale-label: "stale" | ||
exempt-label: "in progress" | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,53 @@ | ||
- name: Update nightly release | ||
run: | | ||
echo -e "ref: $GITHUB_REF \ncommit: $GITHUB_SHA\nbuild: $(date +"%Y-%m-%dT%H:%M:%SZ")" \ | ||
> build/libs/info.txt | ||
uses: eine/tip@master | ||
with: | ||
tag: nightly | ||
rm: true | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
files: build/libs/*.* | ||
name: Update nightly release | ||
on: | ||
push: | ||
branches: | ||
- main | ||
schedule: | ||
- cron: '0 0 * * *' # Executa a meia-noite de cada dia | ||
|
||
jobs: | ||
update-nightly-release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Java | ||
uses: actions/setup-java@v2 | ||
with: | ||
java-version: 11 | ||
|
||
- name: Install Dependencies | ||
run: ./gradlew clean build | ||
|
||
- name: Update info.txt | ||
run: | | ||
echo -e "ref: ${{ github.ref }}\ncommit: ${{ github.sha }}\nbuild: $(date +'%Y-%m-%dT%H:%M:%SZ')" > build/libs/info.txt | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: nightly-build | ||
path: build/libs/ | ||
|
||
- name: Create Release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: nightly | ||
release_name: Nightly Build | ||
body: Automated nightly build for branch ${{ github.ref }} | ||
draft: false | ||
prerelease: true | ||
|
||
- name: Attach Artifacts to Release | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: build/libs/ | ||
asset_name: nightly-build | ||
asset_content_type: application/zip |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"singleQuote": true, | ||
"endOfLine": "crlf", | ||
"endOfLine": "auto", | ||
"useTabs": false, | ||
"trailingComma": "none" | ||
} |
Oops, something went wrong.