Skip to content

Commit 6501fa9

Browse files
committed
ci: test using file to store version generated against
1 parent b98689c commit 6501fa9

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/regenerate_protos_cron.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,14 @@ jobs:
99
release:
1010
runs-on: ubuntu-latest
1111
steps:
12+
- id: get-repo-version
13+
run: echo "version=$(cat ./vega-version.js)" >> $GITHUB_OUTPUT
1214
- id: version
1315
uses: vegaprotocol/github-action-get-vega-version@main
1416
with:
1517
include-preview-versions: true
18+
previous-version: ${{ steps.get-repo-version.outputs.version }}
1619
- run: echo ${{ steps.version.outputs.new-version }}
1720
- run: echo ${{ steps.version.outputs.current-version }}
18-
- run: echo $GITHUB_OUTPUT
21+
- run: echo "running"
22+
if: ${{ steps.version.outputs.new-version }}

vega-version.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v0.0.0

0 commit comments

Comments
 (0)