Skip to content

Commit 33df9ed

Browse files
authored
Merge pull request #41 from HtmlUnit/feature/tweaks
Tweaks
2 parents fe548c2 + 0455682 commit 33df9ed

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.github/dependabot.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: nuget
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
time: "03:00"
8+
timezone: Europe/Oslo
9+
open-pull-requests-limit: 99
10+
- package-ecosystem: github-actions
11+
directory: "/"
12+
schedule:
13+
interval: daily
14+
time: "03:00"
15+
timezone: Europe/Oslo
16+
open-pull-requests-limit: 99

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Build
22

33
on:
44
push:
5+
tags: ['*']
56
branches: [ main ]
67
pull_request:
78
branches: [ main ]
@@ -63,6 +64,7 @@ jobs:
6364
publish:
6465
runs-on: ubuntu-latest
6566
needs: build
67+
if: startsWith(github.ref, 'refs/tags/') # Only publish tagged commits
6668

6769
steps:
6870
- uses: actions/download-artifact@v2
@@ -72,5 +74,4 @@ jobs:
7274
- uses: NuGet/setup-nuget@v1.0.5
7375

7476
- name: Publish To NuGet.org
75-
# if: startsWith(github.ref, 'refs/tags/') # Only publish tagged commits
7677
run: nuget push *.nupkg -Source nuget.org -ApiKey ${{ secrets.NUGET_API_KEY }}

0 commit comments

Comments
 (0)