Skip to content

Commit

Permalink
chore: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
iosh committed Nov 14, 2024
1 parent 3302d30 commit f42dc65
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ on:
workflow_dispatch:

jobs:
prepars:
name: prepars
prepare:
name: prepare
runs-on: ubuntu-latest
outputs:
tag_name: ${{ steps.release_info.outputs.tag_name }}
Expand All @@ -21,7 +21,7 @@ jobs:
run: |
echo "tag_name=$(date +"%Y-%m-%d-%H-%M")" >> $GITHUB_OUTPUT
build:
needs: [prepars]
needs: [prepare]
name: build
runs-on: ubuntu-latest
steps:
Expand All @@ -38,30 +38,30 @@ jobs:
uses: actions/checkout@v4
with:
repository: "Conflux-Chain/sirius-eth"
path: irius-eth
path: sirius-eth
ref: dev
- name: Install dependencies
run: |
cd sirius
yarn
cd ..
cd irius-eth
cd sirius-eth
yarn
cd ..
- name: Build
run: |
cd sirius
yarn build:static
cd ..
cd irius-eth
cd sirius-eth
yarn build:static
cd ..
- name: Copy config
run: |
cd sirius
cp ./config.example ./build/config.json
cd ..
cd irius-eth
cd sirius-eth
cp ./config.example ./build/config.json
cd ..
- name: Create build tag
Expand All @@ -71,7 +71,7 @@ jobs:
github.rest.git.createRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: "refs/tags/${{ needs.prepars.outputs.tag_name }}",
ref: "refs/tags/${{ needs.prepare.outputs.tag_name }}",
sha: context.sha
})
- name: Zip artifacts
Expand All @@ -81,8 +81,8 @@ jobs:
- name: Create release
uses: softprops/action-gh-release@v2
with:
name: ${{ needs.prepars.outputs.tag_name }}
tag_name: ${{ needs.prepars.outputs.tag_name }}
name: ${{ needs.prepare.outputs.tag_name }}
tag_name: ${{ needs.prepare.outputs.tag_name }}
files: |
scan.zip
scan-eth.zip

0 comments on commit f42dc65

Please sign in to comment.