mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
ci: restore depot runners (#23611)
This commit reverts the previous changes to CI jobs affected by disk space issues on depot runners.
This commit is contained in:
@@ -34,7 +34,7 @@ env:
|
||||
jobs:
|
||||
# Only allow maintainers/admins to release.
|
||||
check-perms:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
|
||||
steps:
|
||||
- name: Allow only maintainers/admins
|
||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
|
||||
@@ -61,7 +61,7 @@ jobs:
|
||||
release:
|
||||
name: Build and publish
|
||||
needs: [check-perms]
|
||||
runs-on: ubuntu-latest-16-cores
|
||||
runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
|
||||
permissions:
|
||||
# Required to publish a release
|
||||
contents: write
|
||||
|
||||
Reference in New Issue
Block a user