Skip to content

Commit fe6156f

Browse files
committed
fix publishing workflow
1 parent d32bbd0 commit fe6156f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ jobs:
5050
- name: Install Rust
5151
uses: dtolnay/rust-toolchain@stable
5252
with:
53-
toolchain: ${{ matrix.rust }}
53+
toolchain: stable
5454
- uses: Swatinem/rust-cache@v2
5555
- run: rustup target add ${{ matrix.target }}
5656
- uses: actions/setup-java@v4
5757
with:
58-
distribution: 'microsoft'
59-
java-version: '21'
60-
cache: 'gradle'
58+
distribution: "microsoft"
59+
java-version: "21"
60+
cache: "gradle"
6161
- uses: gradle/actions/wrapper-validation@v3
6262
- name: Run Cargo
6363
run: cargo build --release --target ${{ matrix.target }}
@@ -67,9 +67,9 @@ jobs:
6767
with:
6868
name: Artifacts ${{ matrix.target }}
6969
path: |
70-
target/${{ matrix.target }}/release/ornithe-installer-rs*
71-
!target/**/ornithe-installer-rs.d
72-
!target/**/build/
70+
target/${{ matrix.target }}/release/ornithe-installer-rs*
71+
!target/**/ornithe-installer-rs.d
72+
!target/**/build/
7373
- run: ./gradlew publish --stacktrace
7474
env:
7575
MAVEN_URL: ${{ secrets.NEW_MAVEN_URL }}

0 commit comments

Comments
 (0)