Skip to content

Tag and Release

Tag and Release #7

Workflow file for this run

name: Tag and Release
on:
workflow_run:
workflows: ["Rust Multi-Arch Build"]
types: [completed]
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download Artifact
uses: actions/download-artifact@v4
with:
path: target
- name: Display structure of downloaded files
run: ls -R target
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.tag_version.outputs.new_tag }}
name: Release ${{ steps.tag_version.outputs.new_tag }}
artifacts: |
target/*
body: ${{ steps.tag_version.outputs.changelog }}