From b1a02114553cf7e9eba23547a1e5932b03e12a48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Grill?= Date: Thu, 17 Oct 2024 05:56:33 +0200 Subject: [PATCH] again --- .github/workflows/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7bd00cd..c19c6af 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -113,6 +113,7 @@ jobs: runs-on: windows-latest needs: build steps: + - uses: actions/checkout@v4 - run: echo "VERSION ${{ needs.build.outputs.VERSION }}" - name: Setup dotnet uses: actions/setup-dotnet@v4 @@ -147,6 +148,7 @@ jobs: runs-on: ubuntu-latest needs: build steps: + - uses: actions/checkout@v4 - run: echo "VERSION ${{ needs.build.outputs.VERSION }}" - name: Install tools run: | @@ -162,12 +164,16 @@ jobs: path: ./cmd/proxy/potatodrive-proxy-armhf - name: Package-armhf working-directory: ./cmd/proxy + env: + VERSION: ${{ needs.build.outputs.VERSION }} run: | echo "Version: $VERSION" envsubst < debian/changelog.tpl > debian/changelog dpkg-buildpackage --target-arch armhf --host-arch armhf -b - name: Package-amd64 working-directory: ./cmd/proxy + env: + VERSION: ${{ needs.build.outputs.VERSION }} run: | echo "Version: $VERSION" envsubst < debian/changelog.tpl > debian/changelog