Skip to content

release

release #9

Workflow file for this run

name: release
on:
workflow_dispatch:
inputs:
tag:
description: "Tag"
required: true
default: "0.0.0"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Install
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source "$HOME/.cargo/env"
- name: Build
run: |
cargo build --release
mv target/release/mdbook-embedify target/release/mdbook-embedify-$INPUT_TAG-x86_64-unknown-linux-gnu
- name: Archive
uses: actions/upload-artifact@v4
with:
name: bin
path: target/release/mdbook-embedify-$INPUT_TAG-x86_64-unknown-linux-gnu
release:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/download-artifact@v4
- name: Show files
run: ls -l -R bin