Skip to content

Commit

Permalink
Add actions build concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
ptr727 committed Apr 29, 2023
1 parent 0901737 commit 6a92abb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/BuildDockerPush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
workflow_dispatch:
schedule:
- cron: '0 2 * * MON'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:

Expand Down Expand Up @@ -186,7 +190,7 @@ jobs:

steps:

# https://github.com/marketplace/actions/checkout
# https://github.com/marketplace/actions/checkout
- name: Checkout
uses: actions/checkout@v3

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/BuildGitHubRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
branches: [ main ]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:

# Test
Expand Down
2 changes: 1 addition & 1 deletion PlexCleaner/PlexCleaner.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<PackageReference Include="InsaneGenius.Utilities" Version="3.0.9" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="Newtonsoft.Json.Schema" Version="3.0.14" />
<PackageReference Include="Newtonsoft.Json.Schema" Version="3.0.15" />
<PackageReference Include="Serilog" Version="2.12.0" />
<PackageReference Include="Serilog.Enrichers.Thread" Version="3.1.0" />
<PackageReference Include="Serilog.Extensions.Logging" Version="3.1.0" />
Expand Down
2 changes: 1 addition & 1 deletion Sandbox/Sandbox.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Newtonsoft.Json.Schema" Version="3.0.14" />
<PackageReference Include="Newtonsoft.Json.Schema" Version="3.0.15" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 6a92abb

Please sign in to comment.