Skip to content

Commit

Permalink
ci: test using file to store version generated against
Browse files Browse the repository at this point in the history
  • Loading branch information
dexturr committed May 7, 2024
1 parent b98689c commit 6501fa9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/regenerate_protos_cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,14 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- id: get-repo-version
run: echo "version=$(cat ./vega-version.js)" >> $GITHUB_OUTPUT
- id: version
uses: vegaprotocol/github-action-get-vega-version@main
with:
include-preview-versions: true
previous-version: ${{ steps.get-repo-version.outputs.version }}
- run: echo ${{ steps.version.outputs.new-version }}
- run: echo ${{ steps.version.outputs.current-version }}
- run: echo $GITHUB_OUTPUT
- run: echo "running"
if: ${{ steps.version.outputs.new-version }}
1 change: 1 addition & 0 deletions vega-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v0.0.0

0 comments on commit 6501fa9

Please sign in to comment.