Skip to content

ci: Use new recommended way to set env variables #9969

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 7, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

steps:
- name: Set JDK 11 as default
run: echo "::add-path::/usr/lib/jvm/java-11-openjdk-amd64/bin"
run: echo "/usr/lib/jvm/java-11-openjdk-amd64/bin" >> $GITHUB_PATH

- name: Checkout cleanup script
uses: actions/checkout@v2
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:

steps:
- name: Set JDK 11 as default
run: echo "::add-path::/usr/lib/jvm/java-11-openjdk-amd64/bin"
run: echo "/usr/lib/jvm/java-11-openjdk-amd64/bin" >> $GITHUB_PATH

- name: Checkout cleanup script
uses: actions/checkout@v2
Expand Down Expand Up @@ -191,7 +191,7 @@ jobs:

steps:
- name: Set JDK 8 as default
run: echo "::add-path::/usr/lib/jvm/java-1.8.0-openjdk-amd64/bin"
run: echo "/usr/lib/jvm/java-8-openjdk-amd64/bin" >> $GITHUB_PATH

- name: Checkout cleanup script
uses: actions/checkout@v2
Expand Down Expand Up @@ -378,7 +378,7 @@ jobs:
./project/scripts/sbt dist/packArchive
sha256sum dist/target/dotty-* > dist/target/sha256sum.txt
./project/scripts/sbtPublish ";project dotty-bootstrapped ;publishSigned ;sonatypeBundleRelease"
echo "::set-env name=RELEASE_TAG::${GITHUB_REF#*refs/tags/}"
echo "name=RELEASE_TAG::${GITHUB_REF#*refs/tags/}" >> $GITHUB_ENV

- name: Create GitHub Release
id: create_gh_release
Expand Down