Skip to content

chore: Bump version to 1.8.5 #149

chore: Bump version to 1.8.5

chore: Bump version to 1.8.5 #149

Workflow file for this run

name: CD
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
workflow_dispatch: # Run with Run Workflow button in GitHub Action Job, set debug_enabled=true for interactive ssh session.
inputs:
debug_enabled:
description: Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)
required: false
default: false
jobs:
generate-cd-inputs:
runs-on: ubuntu-latest
outputs:
description: ${{ steps.set-outputs.outputs.description }}
homepage: ${{ steps.set-outputs.outputs.homepage }}
maintainer: ${{ steps.set-outputs.outputs.maintainer }}
project-name: ${{ steps.set-outputs.outputs.project-name }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set outputs
id: set-outputs
run: |
set -eu pipefail
echo "description=$(grep ^description Cargo.toml | cut -d'=' -f2 | sed -e 's/\s*//' -e 's/\"//g')" >> $GITHUB_OUTPUT
echo "homepage=$(grep ^repository Cargo.toml | cut -d'=' -f2 | sed -e 's/\s*//' -e 's/\"//g')" >> $GITHUB_OUTPUT
echo "maintainer=$(grep ^authors Cargo.toml | cut -d'=' -f2 | sed -e 's/[][]//g' -e 's/\s*//' -e 's/\"//g')" >> $GITHUB_OUTPUT
echo "project-name=$(grep ^name Cargo.toml | cut -d'=' -f2 | sed -e 's/\s*//' -e 's/\"//g')" >> $GITHUB_OUTPUT
cd:
uses: mihaigalos/workflows/.github/workflows/rust-cd.yaml@main
needs:
- generate-cd-inputs
with:
COPYRIGHT_YEARS: 2021-3021
DESCRIPTION: ${{ needs.generate-cd-inputs.outputs.description }}
HOMEPAGE: ${{ needs.generate-cd-inputs.outputs.homepage }}
MAINTAINER: ${{ needs.generate-cd-inputs.outputs.maintainer }}
PROJECT_NAME: ${{ needs.generate-cd-inputs.outputs.project-name }}
secrets:
CARGO_API_KEY: ${{ secrets.CARGO_API_KEY }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}