Skip to content

Commit

Permalink
fixup! Create nightly workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mkaput committed Jul 21, 2023
1 parent ab77100 commit a1e04b9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/_build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ on:
required: false
type: string

env:
CARGO_TERM_COLOR: always

jobs:
build:
name: build ${{ matrix.target }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release Test
name: Release Check

on:
workflow_call:
Expand All @@ -11,9 +11,6 @@ on:
type: boolean
default: true

env:
CARGO_TERM_COLOR: always

jobs:
test:
name: test ${{ matrix.name }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true

env:
CARGO_TERM_COLOR: always
permissions:
contents: write

jobs:
prepare:
Expand Down Expand Up @@ -64,8 +64,8 @@ jobs:
- name: Push patches to the repository
run: git push origin ${{ env.NIGHTLY_BRANCH }}

test:
uses: ./.github/workflows/_test-release.yml
check:
uses: ./.github/workflows/_check-release.yml
needs: prepare
with:
ref: ${{ needs.prepare.outputs.nightly_branch }}
Expand Down

0 comments on commit a1e04b9

Please sign in to comment.