Skip to content

Commit

Permalink
chore: fix identity import in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ilbertt committed Feb 26, 2024
1 parent 220bcb9 commit 4f04afa
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ jobs:
- uses: dfinity/setup-dfx@main
with:
dfx-version: 0.16.1
env:
DFX_IDENTITY_PEM: ${{ secrets.DFX_IDENTITY_PEM }}

- name: install mops
run: npm i ic-mops -g
Expand All @@ -37,12 +35,12 @@ jobs:

- name: publish on mops
run: |
dfx identity use action
mops import-identity --no-encrypt -- "$(dfx identity export action)"
mops import-identity --no-encrypt -- "${DFX_IDENTITY_PEM}"
mops publish
echo "version=$(cat mops.toml | grep "version =" | cut -d\" -f2)" >> "$GITHUB_OUTPUT"
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
DFX_IDENTITY_PEM: ${{ secrets.DFX_IDENTITY_PEM }}

tag:
needs: publish
Expand Down

0 comments on commit 4f04afa

Please sign in to comment.