Fix Ruby workflow
This commit is contained in:
parent
d63fddbcf1
commit
621bc83302
|
@ -27,6 +27,10 @@ jobs:
|
||||||
id: version
|
id: version
|
||||||
shell: bash
|
shell: bash
|
||||||
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v}
|
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v}
|
||||||
|
- name: Set up Ruby
|
||||||
|
uses: actions/setup-ruby@v1
|
||||||
|
with:
|
||||||
|
ruby-version: '2.5'
|
||||||
- name: Set up Rust
|
- name: Set up Rust
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
|
@ -50,11 +54,7 @@ jobs:
|
||||||
id: version
|
id: version
|
||||||
shell: bash
|
shell: bash
|
||||||
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v}
|
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v}
|
||||||
- name: Get file name
|
- name: Set up Ruby
|
||||||
id: file
|
|
||||||
shell: bash
|
|
||||||
run: echo ::set-output name=FILE::${{ steps.version.outputs.VERSION }}.jar
|
|
||||||
- name: Set up JDK
|
|
||||||
uses: actions/setup-ruby@v1
|
uses: actions/setup-ruby@v1
|
||||||
with:
|
with:
|
||||||
ruby-version: '2.5'
|
ruby-version: '2.5'
|
||||||
|
|
Loading…
Reference in New Issue