Skip to content

Commit c8196e3

Browse files
authored
Try different action for cargo publish (#22)
1 parent 9af6171 commit c8196e3

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

.github/workflows/release_core.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@ jobs:
1818
profile: minimal
1919
toolchain: stable
2020
override: true
21-
- uses: actions-rs/cargo@v1
21+
- uses: katyo/publish-crates@v1
2222
with:
23-
command: login
24-
args: ${{ secrets.CRATES_IO_TOKEN }}
25-
- uses: actions-rs/cargo@v1
26-
with:
27-
command: publish
23+
registry-token: ${{ secrets.CRATES_IO_TOKEN }}
24+
path: './feos-core'

.github/workflows/release_dft.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@ jobs:
1818
profile: minimal
1919
toolchain: stable
2020
override: true
21-
- uses: actions-rs/cargo@v1
21+
- uses: katyo/publish-crates@v1
2222
with:
23-
command: login
24-
args: ${{ secrets.CRATES_IO_TOKEN }}
25-
- uses: actions-rs/cargo@v1
26-
with:
27-
command: publish
23+
registry-token: ${{ secrets.CRATES_IO_TOKEN }}
24+
path: './feos-dft'

0 commit comments

Comments
 (0)