Skip to content

Workflow

Workflow #2

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
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
steps:
- uses: actions/checkout@v4
- name: Publish portablemc
run: cargo publish -p portablemc --dry-run
- name: Publish portablemc-cli
run: cargo publish -p portablemc-cli --dry-run