Fix LVM config not passed to runner instances #15
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | |
| release: | |
| types: [created] | |
| workflow_dispatch: | |
| inputs: | |
| tag: | |
| description: "Release tag to build and upload assets for" | |
| required: true | |
| jobs: | |
| release: | |
| name: Build Release | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@master | |
| with: | |
| ref: ${{ github.event.inputs.tag || github.ref }} | |
| - name: Install musl tools | |
| run: sudo apt-get install -y musl-tools | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@master | |
| with: | |
| toolchain: "1.88.0" | |
| targets: x86_64-unknown-linux-musl | |
| - name: Build | |
| run: cargo build --manifest-path bin/Cargo.toml --target x86_64-unknown-linux-musl --release | |
| - name: Package and upload | |
| run: | | |
| TAG=${{ github.event.inputs.tag || github.ref_name }} | |
| ARCHIVE="actions-runner_v${TAG}_x86_64-unknown-linux-musl.zip" | |
| zip "$ARCHIVE" target/x86_64-unknown-linux-musl/release/actions-runner | |
| sha256sum "$ARCHIVE" > "${ARCHIVE}.sha256sum" | |
| gh release upload "$TAG" "$ARCHIVE" "${ARCHIVE}.sha256sum" --clobber | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |