Skip to content

Commit 6797661

Browse files
authored
Update release-rust.yml
1 parent 2cf1bfd commit 6797661

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

.github/workflows/release-rust.yml

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ on:
55
pull_request:
66
push:
77
branches: [ master, develop ]
8-
# branches: [ master, develop ]
9-
# paths:
10-
# - 'source/ports/rs_port/Cargo.toml'
11-
# - 'source/ports/rs_port/inline/Cargo.toml'
8+
paths:
9+
- 'source/ports/rs_port/**'
1210

1311
concurrency:
1412
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
@@ -46,16 +44,17 @@ jobs:
4644
run: |
4745
cargo build --verbose
4846
cargo test --verbose
49-
# release:
50-
# name: Release Rust Port
51-
# runs-on: ubuntu-latest
52-
# needs: test
53-
# steps:
54-
# - name: Check out the repo
55-
# uses: actions/checkout@v4
56-
# with:
57-
# fetch-depth: 0
58-
# - name: Release the port
59-
# run: |
60-
# cd source/ports/rs_port
61-
# bash ./upload.sh
47+
48+
release:
49+
name: Release Rust Port
50+
runs-on: ubuntu-latest
51+
needs: test
52+
steps:
53+
- name: Check out the repo
54+
uses: actions/checkout@v4
55+
with:
56+
fetch-depth: 0
57+
- name: Release the port
58+
run: |
59+
cd source/ports/rs_port
60+
bash ./upload.sh

0 commit comments

Comments
 (0)