diff --git a/.github/workflows/build-dev.yml b/.github/workflows/build-dev.yml index f189391..4688b46 100644 --- a/.github/workflows/build-dev.yml +++ b/.github/workflows/build-dev.yml @@ -53,6 +53,13 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Load VERSION + run: | + if [ -f DEV-VERSION ]; then + echo "VERSION=$(cat DEV-VERSION)" >> $GITHUB_ENV + else + echo "DEV-VERSION file not found!" && exit 1 + fi - name: Set up QEMU uses: docker/setup-qemu-action@v3 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 851b16c..5100a43 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,6 +53,14 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Load VERSION + run: | + if [ -f DEV-VERSION ]; then + echo "VERSION=$(cat DEV-VERSION)" >> $GITHUB_ENV + else + echo "DEV-VERSION file not found!" && exit 1 + fi + - name: Set up QEMU uses: docker/setup-qemu-action@v3