Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
Signed-off-by: eternal-flame-AD <[email protected]>
  • Loading branch information
eternal-flame-AD committed Jul 19, 2024
1 parent d2bd1ef commit 51ad481
Showing 1 changed file with 22 additions and 21 deletions.
43 changes: 22 additions & 21 deletions .github/workflows/follow.yml
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 * * *'

Expand All @@ -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 }}

0 comments on commit 51ad481

Please sign in to comment.