Skip to content

Commit

Permalink
🐛 fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
mockersf committed Nov 24, 2020
1 parent 5acad0b commit 54bd3bf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
mkdir -p ${{ env.binary }}.app/Contents/MacOS
cp target/${{ matrix.target.target }}/release/${{ env.binary }} ${{ env.binary }}.app/Contents/MacOS/
strip ${{ env.binary }}.app/Contents/MacOS/${{ env.binary }}
if [ "${{ env.package }}" != "false" ]
if [ "${{ env.package_assets }}" != "false" ]
then
cp -r assets ${{ env.binary }}.app/Contents/MacOS/
fi
Expand All @@ -86,7 +86,7 @@ jobs:
mkdir linux
cp target/${{ matrix.target.target }}/release/${{ env.binary }} linux/
strip linux/${{ env.binary }}
if [ "${{ env.package }}" != "false" ]
if [ "${{ env.package_assets }}" != "false" ]
then
cp -r assets linux/
fi
Expand All @@ -95,15 +95,15 @@ jobs:
run: |
mkdir windows
cp target/${{ matrix.target.target }}/release/${{ env.binary }}.exe windows/
if ( -not "${{ env.package }}" -eq "false" )
if ( -not "${{ env.package_assets }}" -eq "false" )
{
cp -r assets windows/
}
- name: wasm finish
if: matrix.target.channel == 'wasm'
run: |
wasm-bindgen --no-typescript --out-name ${{ env.binary }} --out-dir wasm --target web target/${{ matrix.target.target }}/release/${{ env.binary }}.wasm
if [ "${{ env.package }}" != "false" ]
if [ "${{ env.package_assets }}" != "false" ]
then
cp -r assets wasm/
fi
Expand Down

0 comments on commit 54bd3bf

Please sign in to comment.