Skip to content

Commit

Permalink
chore: add timeout-minutes for release actions (#718)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi authored Sep 4, 2024
1 parent 5d233c3 commit 437d56f
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 480
strategy:
matrix:
target:
Expand Down Expand Up @@ -112,8 +113,10 @@ jobs:
release-github:
runs-on: ubuntu-latest
timeout-minutes: 180
timeout-minutes: 120
needs: [build]
permissions:
contents: write
steps:
- name: Download Release Artifacts
uses: actions/download-artifact@v4
Expand All @@ -125,15 +128,15 @@ jobs:
- name: Release
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
token: ${{ secrets.GITHUB_TOKEN }}
allowUpdates: true
draft: true
files: |
releases/*.rpm
releases/*.deb
releases/*.tar.gz
generateReleaseNotes: true
artifacts: "releases/*.rpm,releases/*.deb,releases/*.tar.gz"

publish-crates:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
Expand Down

0 comments on commit 437d56f

Please sign in to comment.