Skip to content

Init deploy workflow #1

Init deploy workflow

Init deploy workflow #1

Workflow file for this run

# This workflow is for manually triggering deployment and publishing of the crate.
name: Deploy
on:
workflow_dispatch:
push:
branches: ["rust-rewrite"]
jobs:
test:
uses: ./.github/workflows/test.yml
publish-dry-run:
needs: test
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Publish (dry)
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: >
cargo publish -p portablemc --dry-run
cargo publish -p portablemc-cli --dry-run