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')
|
||||
extension=".exe"
|
||||
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
|
||||
|
||||
- name: Upload artifacts to workflow
|
||||
@@ -107,5 +107,3 @@ jobs:
|
||||
git add .
|
||||
git commit -m "Release ${{ steps.version.outputs.version }}"
|
||||
git push
|
||||
env:
|
||||
PAT: ${{ secrets.TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user