Fix release action on OS X and Windows
@@ -112,7 +112,7 @@ jobs:
id: release_version
run: |
release_version=${GITHUB_REF:11}
- sed -i "s/^projectVersion.*$/projectVersion\=${release_version}/" gradle.properties
+ sed -i -e "s/^projectVersion.*$/projectVersion\=${release_version}/" gradle.properties
echo ::set-output name=release_version::${release_version}
- name: Install GraalVM
env:
@@ -152,12 +152,6 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- - name: Set the current release version
- id: release_version
- run: |
- release_version=${GITHUB_REF:11}
- sed -i "s/^projectVersion.*$/projectVersion\=${release_version}/" gradle.properties
- echo ::set-output name=release_version::${release_version}
- name: Download GraalVM
run: Invoke-RestMethod -Uri https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-20.1.0/graalvm-ce-java11-windows-amd64-20.1.0.zip -OutFile 'graal.zip'
- name: Install GraalVM
