Skip to content

Commit

Permalink
updated with timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Scooletz committed Mar 11, 2024
1 parent 1f48d1f commit e587adf
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build-importer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:

jobs:
tests:
timeout-minutes: 10
timeout-minutes: 20
name: "Run Paprika tests"
runs-on: ubuntu-latest
permissions:
Expand Down Expand Up @@ -50,41 +50,41 @@ jobs:
${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }}
- name: Test
run: dotnet test src/Paprika.Tests -c ${{ env.BUILD_CONFIG }} --filter TestCategory\!~LongRunning --collect:"XPlat Code Coverage" --results-directory ./coverage
run: dotnet test src/Paprika.Tests -c ${{ env.BUILD_CONFIG }} --filter TestCategory\!~LongRunning

- name: Build Importer
run: dotnet build -c Release --runtime ${{ matrix.os }}-x64 src/Paprika.Importer/Paprika.Importer.csproj
run: dotnet build -c Release --runtime ${{ matrix.os }}-x64 src/Paprika.Importer/Paprika.Importer.csproj

- uses: actions/upload-artifact@v4
with:
# Name of the artifact to upload.
# Optional. Default is 'artifact'
name: Paprika.Importer.${{ matrix.os }}

# A file, directory or wildcard pattern that describes what to upload
# Required.
path: ./src/Paprika.Importer/bin/Release/net8.0/${{ matrix.os }}-x64

# The desired behavior if no files are found using the provided path.
# Available Options:
# warn: Output a warning but do not fail the action
# error: Fail the action with an error message
# ignore: Do not output any warnings or errors, the action does not fail
# Optional. Default is 'warn'
if-no-files-found: error

# Duration after which artifact will expire in days. 0 means using default retention.
# Minimum 1 day.
# Maximum 90 days unless changed from the repository settings page.
# Optional. Defaults to repository settings.
retention-days: 7

# The level of compression for Zlib to be applied to the artifact archive.
# The value can range from 0 to 9.
# For large files that are not easily compressed, a value of 0 is recommended for significantly faster uploads.
# Optional. Default is '6'
compression-level: 6

# If true, an artifact with a matching name will be deleted before a new one is uploaded.
# If false, the action will fail if an artifact for the given name already exists.
# Does not fail if the artifact does not exist.
Expand Down

0 comments on commit e587adf

Please sign in to comment.