Skip to content

Commit d18e3a0

Browse files
committed
fix: ci
1 parent 2118816 commit d18e3a0

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/rust.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ env:
2626
CARGO_TERM_COLOR: always
2727
VCPKG_COMMIT_ID: 06c79a9afa6f99f02f44d20df9e0848b2a56bf1b
2828
TAG_NAME: latest
29-
VERSION: "1.1.2"
29+
VERSION: "1.1.4"
3030

3131
jobs:
3232
build:
@@ -35,10 +35,10 @@ jobs:
3535
strategy:
3636
fail-fast: false
3737
matrix:
38-
os: [ubuntu-20.04, macOS-latest]
38+
os: [ubuntu-22.04, macOS-latest]
3939
include:
4040
- name: linux
41-
os: ubuntu-20.04
41+
os: ubuntu-22.04
4242
artifact_name: target/release/RustPlayer
4343
asset_name: RustPlayer-linux-amd64
4444
- name: macos
@@ -47,14 +47,14 @@ jobs:
4747
asset_name: RustPlayer-macos
4848
steps:
4949
- uses: actions/checkout@v2
50-
- name: patch dynamic build
51-
run: git apply dynamic-lib.patch
50+
# - name: patch dynamic build
51+
# run: git apply dynamic-lib.patch
5252

5353
- run: rustup toolchain install ${{ inputs.RUST_TOOLCHAIN }} --profile minimal
5454
- uses: Swatinem/rust-cache@v2
5555

5656
- name: Install cargo bundle
57-
if: matrix.os == 'ubuntu-20.04'
57+
if: matrix.os == 'ubuntu-22.04'
5858
shell: bash
5959
run: |
6060
pushd /tmp
@@ -69,7 +69,7 @@ jobs:
6969
run: cargo build --release
7070

7171
- name: build RustPlayer for Linux
72-
if: matrix.os == 'ubuntu-20.04'
72+
if: matrix.os == 'ubuntu-22.04'
7373
run: cargo bundle --release
7474

7575
- name: bundle RustPlayer for macOS
@@ -82,7 +82,7 @@ jobs:
8282
mv target/release/rustplayer rustplayer-binary-macos
8383
8484
- name: Publish Release for linux
85-
if: matrix.os == 'ubuntu-20.04'
85+
if: matrix.os == 'ubuntu-22.04'
8686
uses: softprops/action-gh-release@v1
8787
with:
8888
prerelease: true
@@ -126,7 +126,7 @@ jobs:
126126
- name: build RustPlayer
127127
shell: bash
128128
run: |
129-
$VCPKG_ROOT/vcpkg install ffmpeg:x64-windows-static-md
129+
# $VCPKG_ROOT/vcpkg install ffmpeg:x64-windows-static-md
130130
cargo build --release
131131
132132
- name: rename

0 commit comments

Comments
 (0)