From 72c4aab657a8440cbc7bb4096e3707f06de519e7 Mon Sep 17 00:00:00 2001 From: Hendrik Mennen Date: Thu, 8 Aug 2024 09:51:06 +0200 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 62f18a7..5d5c35b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,15 +17,13 @@ jobs: run: | LATEST_VERSION=$(cat ./oneware-package.json | jq -r '.versions | max_by(.version | split(".") | map(tonumber)) | .version') echo "Latest version is $LATEST_VERSION" - echo "::set-output name=latest_version::$LATEST_VERSION" + echo "{latest_version}={$LATEST_VERSION}" >> $GITHUB_OUTPUT - name: Compress uses: thedoctor0/zip-release@0.7.1 with: type: 'zip' filename: ./OneWare.Max1000_${{ steps.extract_version.outputs.latest_version }}_all.zip directory: ./ - - name: Debug - run: ls - uses: ncipollo/release-action@v1.14.0 with: artifacts: "./OneWare.Max1000_${{ steps.extract_version.outputs.latest_version }}_all.zip"