mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-20 00:52:41 +03:00
Co-authored-by: Jacob Bolda <me@jacobbolda.com>
This commit is contained in:
parent
1f5a299719
commit
f729f65537
2
.github/workflows/release-cargo.yml
vendored
2
.github/workflows/release-cargo.yml
vendored
@ -48,7 +48,7 @@ jobs:
|
|||||||
run: echo ::set-env name=PUBLISHED_VERSION::$(cargo search ${{ matrix.package.registryName }} --limit 1 | sed -nE 's/^[^"]*"//; s/".*//1p' -)
|
run: echo ::set-env name=PUBLISHED_VERSION::$(cargo search ${{ matrix.package.registryName }} --limit 1 | sed -nE 's/^[^"]*"//; s/".*//1p' -)
|
||||||
- name: cargo login
|
- name: cargo login
|
||||||
if: env.PACKAGE_VERSION != env.PUBLISHED_VERSION
|
if: env.PACKAGE_VERSION != env.PUBLISHED_VERSION
|
||||||
run: cargo login {{ secrets.crate_token }}
|
run: cargo login ${{ secrets.crate_token }}
|
||||||
- name: cargo package
|
- name: cargo package
|
||||||
if: env.PACKAGE_VERSION != env.PUBLISHED_VERSION
|
if: env.PACKAGE_VERSION != env.PUBLISHED_VERSION
|
||||||
working-directory: ${{ matrix.package.path }}
|
working-directory: ${{ matrix.package.path }}
|
||||||
|
2
.github/workflows/release-npm.yml
vendored
2
.github/workflows/release-npm.yml
vendored
@ -50,7 +50,7 @@ jobs:
|
|||||||
working-directory: ${{ matrix.package.path }}
|
working-directory: ${{ matrix.package.path }}
|
||||||
run: |
|
run: |
|
||||||
echo "# NPM Audit Results" | tee -a ${{runner.workspace }}/notes.md
|
echo "# NPM Audit Results" | tee -a ${{runner.workspace }}/notes.md
|
||||||
npm audit 2>&1 | tee -a ${{runner.workspace }}/notes.md
|
yarn audit 2>&1 | tee -a ${{runner.workspace }}/notes.md
|
||||||
- name: Publish ${{ matrix.package.name }}
|
- name: Publish ${{ matrix.package.name }}
|
||||||
if: env.PACKAGE_VERSION != env.PUBLISHED_VERSION
|
if: env.PACKAGE_VERSION != env.PUBLISHED_VERSION
|
||||||
working-directory: ${{ matrix.package.path }}
|
working-directory: ${{ matrix.package.path }}
|
||||||
|
Loading…
Reference in New Issue
Block a user