File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: "Discord"
2
2
3
3
on :
4
4
schedule :
5
- - cron : " 00 01,13 * * *"
5
+ - cron : " 0 */1 * * *" # every 1 hour
6
6
# - cron: "0 0 * * *"
7
7
8
8
jobs :
@@ -13,12 +13,12 @@ jobs:
13
13
id : cache-tags
14
14
uses : actions/cache@v4
15
15
with :
16
- path : tags
17
- key : ${{ runner.os }}-tags
16
+ path : watch-cache
17
+ key : ${{ runner.os }}-watch-cache
18
18
- name : Package Installer
19
19
run : |
20
20
sudo snap install ipsw
21
21
- name : Run ipsw watch WebKit/WebKit
22
22
run : |
23
- /snap/bin/ipsw watch --pattern '(?i)Lockdown Mode' --days 1 --api ${{ secrets.GITHUB_TOKEN }} --discord-id ${{ secrets.DISCORD_ID }} --discord-token ${{ secrets.DISCORD_TOKEN }} --discord-icon "https://raw.githubusercontent.com/blacktop/ipsw/master/www/static/img/webkit.png" WebKit/WebKit
24
- /snap/bin/ipsw watch -- api ${{ secrets.GITHUB_TOKEN }} --discord-id ${{ secrets.DISCORD_ID }} --discord-token ${{ secrets.DISCORD_TOKEN }} apple-oss-distributions/distribution-macOS --tags --cache tags --discord-icon "https://avatars.githubusercontent.com/u/91919287"
23
+ /snap/bin/ipsw watch WebKit/WebKit --pattern '(?i)Lockdown Mode' --days 1 --cache watch-cache -- api ${{ secrets.GITHUB_TOKEN }} --discord-id ${{ secrets.DISCORD_ID }} --discord-token ${{ secrets.DISCORD_TOKEN }} --discord-icon "https://raw.githubusercontent.com/blacktop/ipsw/master/www/static/img/webkit.png"
24
+ /snap/bin/ipsw watch apple-oss-distributions/distribution-macOS --tags --cache watch-cache -- api ${{ secrets.GITHUB_TOKEN }} --discord-id ${{ secrets.DISCORD_ID }} --discord-token ${{ secrets.DISCORD_TOKEN }} --discord-icon "https://avatars.githubusercontent.com/u/91919287"
Original file line number Diff line number Diff line change @@ -151,9 +151,6 @@ var watchCmd = &cobra.Command{
151
151
if viper .IsSet ("watch.post" ) {
152
152
return fmt .Errorf ("commit watching is not supported with --post" )
153
153
}
154
- if viper .IsSet ("watch.cache" ) {
155
- return fmt .Errorf ("commit watching is not supported with local file --cache" )
156
- }
157
154
}
158
155
159
156
if viper .GetString ("watch.discord-id" ) != "" && viper .GetString ("watch.discord-token" ) != "" {
You can’t perform that action at this time.
0 commit comments