Skip to content

Commit b6dbfcb

Browse files
committed
ci: bundle docs file
1 parent 4178488 commit b6dbfcb

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,16 @@ jobs:
2626
- name: Test
2727
run: dotnet test --no-restore --verbosity normal
2828

29+
- name: Bundle artifacts
30+
run: |
31+
cd ./HearthDb/bin/Release/netstandard2.0
32+
zip HearthDb.zip HearthDb.dll HearthDb.xml
33+
2934
- name: Upload artifact
30-
if: github.event_name == 'push'
3135
uses: actions/upload-artifact@v4
3236
with:
33-
name: HearthDb.dll
34-
path: "./HearthDb/bin/Release/netstandard2.0/HearthDb.dll"
37+
name: HearthDb.zip
38+
path: "./HearthDb/bin/Release/netstandard2.0/HearthDb.zip"
3539

3640
deploy:
3741
needs: build
@@ -44,7 +48,7 @@ jobs:
4448
- name: Download artifact
4549
uses: actions/download-artifact@v4
4650
with:
47-
name: HearthDb.dll
51+
name: HearthDb.zip
4852
path: bin
4953

5054
- name: Configure AWS Credentials
@@ -54,4 +58,4 @@ jobs:
5458
aws-region: us-east-1
5559

5660
- name: Deploy
57-
run: aws s3 cp bin/*.dll s3://libs.hearthsim.net/hdt/
61+
run: aws s3 cp bin/*.zip s3://libs.hearthsim.net/hdt/

0 commit comments

Comments
 (0)