Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Commit

Permalink
Fixes to build script for GitHub actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
jessefreeman committed Dec 18, 2020
1 parent 10c0543 commit 6da3fb3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pixel-vision-8-feature-builder.yml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ jobs:
id: PREVIOUS_version
run: |
IFS='.' read -ra my_array <<< "${{ steps.compute_tag.outputs.next_tag }}"
echo "::set-env name=CURRENT::${my_array[0]:1}.${my_array[1]}.$((${my_array[2]} - 1))"
echo "::set-env name=PREVIOUS::${my_array[0]:1}.${my_array[1]}.$((${my_array[2]} - 2))"
echo "CURRENT=${my_array[0]:1}.${my_array[1]}.$((${my_array[2]} - 1))" >> $GITHUB_ENV
echo "PREVIOUS=${my_array[0]:1}.${my_array[1]}.$((${my_array[2]} - 2))" >> $GITHUB_ENV
- name: Create Changelog
id: changelog
Expand All @@ -79,7 +79,7 @@ jobs:
REPORT="${REPORT//'%'/'%25'}"
REPORT="${REPORT//$'\n'/'%0A'}"
REPORT="${REPORT//$'\r'/'%0D'}"
echo "::set-env name=REPORT::$REPORT"
echo "REPORT=$REPORT" >> $GITHUB_ENV
# Setup dotnet v3.1
- name: Setup .NET Core
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pixel-vision-8-release-builder.yml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ jobs:
id: PREVIOUS_version
run: |
IFS='.' read -ra my_array <<< "${{ steps.compute_tag.outputs.next_tag }}"
echo "::set-env name=CURRENT::${my_array[0]:1}.$((${my_array[1]} - 1)).$((${my_array[2]}))"
echo "::set-env name=PREVIOUS::${my_array[0]:1}.$((${my_array[1]} - 2)).0"
echo "CURRENT=${my_array[0]:1}.$((${my_array[1]} - 1)).$((${my_array[2]}))" >> $GITHUB_ENV
echo "PREVIOUS=${my_array[0]:1}.$((${my_array[1]} - 2)).0" >> $GITHUB_ENV
- name: Create Changelog
id: changelog
Expand All @@ -81,7 +81,7 @@ jobs:
REPORT="${REPORT//'%'/'%25'}"
REPORT="${REPORT//$'\n'/'%0A'}"
REPORT="${REPORT//$'\r'/'%0D'}"
echo "::set-env name=REPORT::$REPORT"
echo "REPORT=$REPORT" >> $GITHUB_ENV
# Setup dotnet v3.1
- name: Setup .NET Core
Expand Down

0 comments on commit 6da3fb3

Please sign in to comment.