Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikMennen authored Aug 8, 2024
1 parent 8077cb0 commit 72c4aab
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
type: 'zip'
filename: ./OneWare.Max1000_${{ steps.extract_version.outputs.latest_version }}_all.zip
directory: ./
- name: Debug
run: ls
- uses: ncipollo/[email protected]
with:
artifacts: "./OneWare.Max1000_${{ steps.extract_version.outputs.latest_version }}_all.zip"
Expand Down

0 comments on commit 72c4aab

Please sign in to comment.