mirror of
https://github.com/Revertron/Alfis
synced 2024-11-03 15:40:19 +00:00
Update rust_create_release.yml
This commit is contained in:
parent
cbada24e56
commit
483d8f7a02
12
.github/workflows/rust_create_release.yml
vendored
12
.github/workflows/rust_create_release.yml
vendored
@ -12,16 +12,14 @@ jobs:
|
||||
name: Get version from Cargo.toml
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
project_version: "$(cat version.txt)"
|
||||
project_version: ${{ env.VERSION }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: install libgtk-dev libwebkit2gtk-4.0
|
||||
run: sudo apt update && sudo apt install libwebkit2gtk-4.0-dev
|
||||
if: contains(matrix.os, 'ubuntu')
|
||||
- name: Build project
|
||||
- name: Getting version
|
||||
run: |
|
||||
cargo build
|
||||
VERSION=$(cat Cargo.toml | grep version | sed s/version//g | sed s/=//g | sed s/\"//g | sed s/\ //g | sed -n 1p)
|
||||
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
||||
|
||||
make_release:
|
||||
name: Create Release
|
||||
|
Loading…
Reference in New Issue
Block a user