Skip to content

Commit bade142

Browse files
committed
Skip the slow and inefficient artifact upload
1 parent 5b7cd1c commit bade142

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/upload-database.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: Upload database
22

33
# This GitHub Actions workflow checkouts the PostGIS database dump
4-
# pre-populated on @whkchow's computer and upload it as artifact
5-
# and release asset (for a tagged release) on GitHub
4+
# pre-populated on @whkchow's computer and upload it as release assets
5+
# (for a tagged release) on GitHub
66

77
on:
88
push:
9-
branches:
10-
- '**'
9+
# branches:
10+
# - '**'
1111
tags:
1212
- 'v*'
1313
workflow_dispatch:
@@ -69,15 +69,15 @@ jobs:
6969
rm -f *.7z.*
7070
df -h
7171
72-
- name: "Upload database dump as GitHub artifact"
73-
uses: actions/upload-artifact@v3
74-
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
75-
with:
76-
name: opendrr-boundaries-sql
77-
path: |
78-
*.sql
79-
*.sql.*sum
80-
if-no-files-found: error
72+
# - name: "Upload database dump as GitHub artifact"
73+
# uses: actions/upload-artifact@v3
74+
# if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
75+
# with:
76+
# name: opendrr-boundaries-sql
77+
# path: |
78+
# *.sql
79+
# *.sql.*sum
80+
# if-no-files-found: error
8181

8282
- name: Split database dump into 2GB chunks (for tagged release)
8383
if: startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch'

0 commit comments

Comments
 (0)