Relative path when creating zip
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -57,7 +57,7 @@ jobs:
|
|||||||
platform=$(echo $platform | sed 's/.exe//g')
|
platform=$(echo $platform | sed 's/.exe//g')
|
||||||
extension=".exe"
|
extension=".exe"
|
||||||
fi
|
fi
|
||||||
(cd artifacts && zip -r "compressed_artifacts/zurg-${{ steps.version.outputs.version }}-$platform.zip" "zurg-$platform$extension")
|
(cd artifacts && zip -r "../compressed_artifacts/zurg-${{ steps.version.outputs.version }}-$platform.zip" "zurg-$platform$extension")
|
||||||
done
|
done
|
||||||
|
|
||||||
- name: Upload artifacts to workflow
|
- name: Upload artifacts to workflow
|
||||||
@@ -107,5 +107,3 @@ jobs:
|
|||||||
git add .
|
git add .
|
||||||
git commit -m "Release ${{ steps.version.outputs.version }}"
|
git commit -m "Release ${{ steps.version.outputs.version }}"
|
||||||
git push
|
git push
|
||||||
env:
|
|
||||||
PAT: ${{ secrets.TOKEN }}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user