Skip to content

Commit

Permalink
Merge pull request #45 from weefuzzy/ci/main-flow
Browse files Browse the repository at this point in the history
Do nightlies from `main`, releases from `production`
  • Loading branch information
weefuzzy authored Feb 21, 2023
2 parents b33d958 + e610773 commit 5ec8fce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: nightly
on:
workflow_dispatch:
push:
branches: [ dev ]
branches: [ main ]

concurrency:
group: environment-${{ github.ref }}
Expand All @@ -17,7 +17,7 @@ jobs:
- uses: flucoma/actions/env@main
- uses: flucoma/actions/cli@main
with:
branch: origin/dev
branch: origin/main

- name: compress archive
run: 7z a FluCoMa-CLI-Windows-nightly.zip FluidCorpusManipulation
Expand All @@ -35,7 +35,7 @@ jobs:
- uses: flucoma/actions/env@main
- uses: flucoma/actions/cli@main
with:
branch: origin/dev
branch: origin/main

- name: sign binaries
uses: flucoma/actions/distribution@main
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
- uses: flucoma/actions/env@main
- uses: flucoma/actions/cli@main
with:
branch: origin/dev
branch: origin/main

- name: compress archive
run: tar -zcvf FluCoMa-CLI-Linux-nightly.tar.gz FluidCorpusManipulation
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: flucoma/actions/env@main
- uses: flucoma/actions/cli@main
with:
branch: origin/main
branch: origin/production

- name: compress archive
run: 7z a FluCoMa-CLI-Windows.zip FluidCorpusManipulation
Expand All @@ -28,7 +28,7 @@ jobs:
- uses: flucoma/actions/env@main
- uses: flucoma/actions/cli@main
with:
branch: origin/main
branch: origin/production

- name: sign binaries
uses: flucoma/actions/distribution@main
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
- uses: flucoma/actions/env@main
- uses: flucoma/actions/cli@main
with:
branch: origin/main
branch: origin/production

- name: compress archive
run: tar -zcvf FluCoMa-CLI-Linux.tar.gz FluidCorpusManipulation
Expand Down

0 comments on commit 5ec8fce

Please sign in to comment.