-
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.
Signed-off-by: eternal-flame-AD <[email protected]>
- Loading branch information
1 parent
d2bd1ef
commit 51ad481
Showing
1 changed file
with
22 additions
and
21 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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
name: Check upstream releases | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
||
|
@@ -9,26 +10,26 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Go 1.x | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ^1.16 | ||
- name: Set up Go 1.x | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 'stable' | ||
|
||
- name: Run Go project | ||
run: > | ||
cd upstream-follower && \ | ||
go build -o follow && \ | ||
cd .. && \ | ||
./upstream-follower/follow \ | ||
-email "[email protected]" \ | ||
-name "Gotify-broadcast release bot" \ | ||
-coauthor-email "[email protected]" \ | ||
-coauthor-name "eternal-flame-AD" \ | ||
-days 730 \ | ||
-commit \ | ||
-tag | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Run Go project | ||
run: > | ||
cd upstream-follower && \ | ||
go build -o follow && \ | ||
cd .. && \ | ||
./upstream-follower/follow \ | ||
-email "[email protected]" \ | ||
-name "Gotify-broadcast release bot" \ | ||
-coauthor-email "[email protected]" \ | ||
-coauthor-name "eternal-flame-AD" \ | ||
-days 730 \ | ||
-commit \ | ||
-tag | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |