Skip to content

Commit

Permalink
Fix: jobs -> needs
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi committed Jun 1, 2024
1 parent 363f320 commit 0d67f0f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ jobs:
- name: Build rust
run: |
echo "Building version ${{ jobs.info.outputs.version }}"
echo "Building version ${{ needs.info.outputs.version }}"
cargo install cargo-edit
cargo set-version ${{ jobs.info.outputs.version }} -p cantari
cargo set-version ${{ needs.info.outputs.version }} -p cantari
cargo test --all
cargo build --release -vv
Expand All @@ -103,17 +103,17 @@ jobs:
cp target/release/{cantari,cantari.exe} archive || true
cp crates/cantari/engine_manifest.json archive
cd archive
zip -r ../cantari-${{ jobs.info.outputs.version }}${{ matrix.suffix }}.zip .
zip -r ../cantari-${{ needs.info.outputs.version }}${{ matrix.suffix }}.zip .
cd ..
mv cantari-${{ jobs.info.outputs.version }}${{ matrix.suffix }}.zip cantari-${{ jobs.info.outputs.version }}${{ matrix.suffix }}.vvpp
mv cantari-${{ needs.info.outputs.version }}${{ matrix.suffix }}.zip cantari-${{ needs.info.outputs.version }}${{ matrix.suffix }}.vvpp
- name: Create Release
uses: softprops/action-gh-release@v2
with:
tag_name: v${{ jobs.info.outputs.version }}
tag_name: v${{ needs.info.outputs.version }}
prerelease: true
files: |
cantari-${{ jobs.info.outputs.version }}${{ matrix.suffix }}.vvpp
cantari-${{ needs.info.outputs.version }}${{ matrix.suffix }}.vvpp
set-information:
needs:
- info
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ MIT License で公開しています。詳しくは[LICENSE](LICENSE)をご覧
1. CHANGELOG.md を更新
2. `cargo test`
3. `git commit -am "Update: v0.0.0"`
4. `git push origin main`
5. `gh workflow run build.yml -F version=0.0.0`
3. `git push origin main`
4. `gh workflow run build.yml -F version=0.0.0`
-->

0 comments on commit 0d67f0f

Please sign in to comment.