chore: fix to version of action #22
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: regenerate-protos-cron | |
on: | |
push | |
# schedule: | |
# - cron: "0 * * * *" | |
jobs: | |
check-for-new-version: | |
outputs: | |
new-version: ${{ steps.version.outputs.new-version }} | |
current-version: ${{ steps.version.outputs.current-version }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- id: current-vega-version | |
name: Get current version of vega generated against | |
run: echo "version=$(cat ./vega-version.txt)" >> $GITHUB_OUTPUT | |
- name: Test output | |
run: echo ${{ steps.current-vega-version.outputs.version }} | |
- id: version | |
uses: vegaprotocol/[email protected] | |
with: | |
include-preview-versions: true | |
previous-version: ${{ steps.current-vega-version.outputs.version }} | |
regenerate-protos: | |
needs: check-for-new-version | |
runs-on: ubuntu-latest | |
if: ${{ needs.check-for-new-version.outputs.new-version }} | |
steps: | |
- run: echo ${{ needs.check-for-new-version.outputs.current-version }} |