Closed k-doering-NOAA closed 2 years ago
Steps:
An initial version is currently in a branch. Here is the current file Here's what the PR looks like, roughly: https://github.com/nmfs-stock-synthesis/workflows/pull/29
@kellijohnson-NOAA Are there other steps you want to add besides what is outlined in this comment?
One thought I had was we could bump the version in the DESCRIPTION file. I think it would also be a good idea to run r cmd check on the branch.
Also, looking now if there is a way for us to trigger this build to occur when there is a new release in the SS3 repo. I think there likely is.
Actually, I think now the easiest way to trigger the workflow would just be manually with the push of a button. It sounds complicated to set up triggering the build to occur when there is a new SS3 release, so it seems far simpler to use workflow_dispatch.
Here is the file I think we can put in .github/workflows (maybe called call-update-ss3-version.yml):
# update ss3 binaries using reusable workflow
name: update ss3 version
on:
workflow_dispatch:
jobs:
call-update-ss3:
uses: nmfs-stock-synthesis/workflows/.github/workflows/update-ss3-version.yml@main
related to https://github.com/ss3sim/ss3sim/issues/335 . It would be nice to automate this, as we are often slow to do this.