Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
identw committed Sep 12, 2023
1 parent ccd3032 commit fbf28b3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ jobs:
echo "VERSION=v0.0.${version_count}" >> $GITHUB_OUTPUT
echo "VERSION=v0.0.${version_count}" >> $GITHUB_ENV
# toJSON внезапно возвращает не JSON, поэтому приходится парсить вывод через cut и sed
echo "${{ toJSON(needs.build.outputs) }}" | grep package | while read i; do
name=`echo "${i}" | cut -d: -f1`
package=`echo "${i}" | cut -d: -f2 | sed 's/,//g;s/\s//g'`
Expand All @@ -99,11 +100,11 @@ jobs:
{
echo 'PACKAGES<<EOF'
echo "${packages}"
echo cat ./packages
echo 'EOF'
} >> $GITHUB_OUTPUT
- name: 'Upload Artifact'
- name: 'check outputs'
run: |
echo "${{ steps.version.outputs.PACKAGES }}"
Expand Down

0 comments on commit fbf28b3

Please sign in to comment.