From a1c4f56b1fd981564c18bb88a9b41f692dce237f Mon Sep 17 00:00:00 2001 From: Dan Clough Date: Fri, 16 Jun 2023 12:18:44 -0500 Subject: [PATCH] Write version to file --- .github/workflows/publish.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7460500..16c64e7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -24,10 +24,13 @@ jobs: with: scheme: semver increment: patch - - name: Checkout code - uses: actions/checkout@v3 + - name: Write version + uses: DamianReeves/write-file-action@master with: - ref: main + path: ./VERSION + contents: | + ${{ steps.version.outputs.version }} + write-mode: overwrite - name: Set up QEMU uses: docker/setup-qemu-action@v2.1.0 with: