Skip to content

Commit

Permalink
Added manual trigger to every GitHub Actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianLeChat committed Jul 6, 2024
1 parent b44d516 commit b5013b1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
branches: [ master ]
schedule:
- cron: 0 6 * * 1
workflow_dispatch:

jobs:
build:
Expand Down Expand Up @@ -34,7 +35,7 @@ jobs:
dotnet publish src/SteamCollectionDownloadSizeCalculator.csproj -c Release -r linux-arm64 --nologo --self-contained
- name: Upload Linux Builds
uses: actions/upload-artifact@v4
if: github.event_name == 'push'
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
with:
name: linux-builds-dotnet-${{ matrix.dotnet }}
path: |
Expand All @@ -46,7 +47,7 @@ jobs:
dotnet publish src/SteamCollectionDownloadSizeCalculator.csproj -c Release -r osx-arm64 --nologo --self-contained
- name: Upload OSX Builds
uses: actions/upload-artifact@v4
if: github.event_name == 'push'
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
with:
name: osx-builds-dotnet-${{ matrix.dotnet }}
path: |
Expand All @@ -58,7 +59,7 @@ jobs:
dotnet publish src/SteamCollectionDownloadSizeCalculator.csproj -c Release -r win-arm64 --nologo --self-contained
- name: Upload Windows Builds
uses: actions/upload-artifact@v4
if: github.event_name == 'push'
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
with:
name: windows-builds-dotnet-${{ matrix.dotnet }}
path: |
Expand Down

0 comments on commit b5013b1

Please sign in to comment.