Skip to content

nightly

nightly #82

Workflow file for this run

name: nightly
on:
workflow_dispatch:
push:
branches: [ main ]
concurrency:
group: environment-${{ github.ref }}
cancel-in-progress: true
jobs:
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: flucoma/actions/env@main
- uses: flucoma/actions/cli@main
with:
branch: origin/main
- name: compress archive
run: 7z a FluCoMa-CLI-Windows-nightly.zip FluidCorpusManipulation
working-directory: release-packaging
- uses: actions/[email protected]
with:
name: winbuild
path: release-packaging/FluCoMa-CLI-Windows-nightly.zip
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: flucoma/actions/env@main
- uses: flucoma/actions/cli@main
with:
branch: origin/main
- name: sign binaries
uses: flucoma/actions/distribution@main
with:
glob: 'fluid -t x'
package: 'release-packaging'
codesign_options: 'runtime'
output_type: 'dmg'
output: FluCoMa-CLI-Mac-nightly
cert: ${{ secrets.CERT }}
certpwd: ${{ secrets.CERTPWD }}
teamid: ${{ secrets.WWDRTEAMID }}
apppwd: ${{ secrets.APPSTORECONNECTPWD }}
appusr: ${{ secrets.APPSTORECONNECTUSERNAME }}
- uses: actions/[email protected]
with:
name: macbuild
path: release-packaging/FluCoMa-CLI-Mac-nightly.dmg
linux:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: flucoma/actions/env@main
- uses: flucoma/actions/cli@main
with:
branch: origin/main
- name: compress archive
run: tar -zcvf FluCoMa-CLI-Linux-nightly.tar.gz FluidCorpusManipulation
working-directory: release-packaging
- uses: actions/[email protected]
with:
name: linuxbuild
path: release-packaging/FluCoMa-CLI-Linux-nightly.tar.gz
release:
runs-on: ubuntu-20.04
needs: [windows, linux, macos]
steps:
- uses: actions/[email protected]
with:
name: linuxbuild
- uses: actions/[email protected]
with:
name: macbuild
- uses: actions/[email protected]
with:
name: winbuild
- uses: dev-drprasad/[email protected]
with:
delete_release: true # default: false
tag_name: nightly # tag name to delete
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: create release
uses: ncipollo/release-action@v1
with:
name: FluCoMa CLI Nightly Release
artifacts: "FluCoMa*"
body: "This is a nightly build of the FluCoMa CLI tools. As such, be warned there may be bugs or other unexpected behaviour. The build hash is ${{ github.sha }}"
tag: nightly
prerelease: true
draft: false
allowUpdates: true