MaxHuber888
commited on
Fixing actions
Browse files
.github/workflows/main.yml
CHANGED
@@ -12,22 +12,14 @@ on:
|
|
12 |
jobs:
|
13 |
check-file-size:
|
14 |
runs-on: ubuntu-latest
|
15 |
-
|
16 |
steps:
|
17 |
-
- uses: actions/checkout@v3
|
18 |
-
with:
|
19 |
-
fetch-depth: 0
|
20 |
-
lfs: true
|
21 |
-
|
22 |
- name: Check large files
|
23 |
-
id: check_large_files
|
24 |
uses: ActionsDesk/[email protected]
|
25 |
with:
|
26 |
filesizelimit: 10485760 # 10MB
|
27 |
|
28 |
sync-to-hub:
|
29 |
needs: check-file-size
|
30 |
-
if: steps.check_large_files.outputs.filesizelimit == '0'
|
31 |
runs-on: ubuntu-latest
|
32 |
|
33 |
steps:
|
|
|
12 |
jobs:
|
13 |
check-file-size:
|
14 |
runs-on: ubuntu-latest
|
|
|
15 |
steps:
|
|
|
|
|
|
|
|
|
|
|
16 |
- name: Check large files
|
|
|
17 |
uses: ActionsDesk/[email protected]
|
18 |
with:
|
19 |
filesizelimit: 10485760 # 10MB
|
20 |
|
21 |
sync-to-hub:
|
22 |
needs: check-file-size
|
|
|
23 |
runs-on: ubuntu-latest
|
24 |
|
25 |
steps:
|