Skip to content

Draft release

Draft release #213

Workflow file for this run

###########################################################################################################
#
# This workflow creates a draft release into GitHub's releases section.
#
# It is automatically started, when a "Version: x.y.z" PR is merged.
# Its progress is commented at the "Version: x.y.z" PR.
#
# The workflow can also be started manually, if necessary.
#
# When the workflow is finished, one must visit https://github.com/axoflow/axosyslog/releases,
# double check the generated draft release, and manually release it.
#
###########################################################################################################
name: Draft release
permissions: write-all
on:
workflow_dispatch:
env:
GITHUB_TOKEN: ${{ secrets.PAT_FOR_ACTIONS }}
WORKFLOW_NAME: "**Draft release** workflow"
CURRENT_WORKFLOW_RUN_URL: https://github.com/${{ github.repository_owner }}/axosyslog/actions/runs/${{ github.run_id }}
RELEASES_URL: https://github.com/${{ github.repository_owner }}/axosyslog/releases
jobs:
upload-packages:
uses: ./.github/workflows/upload-packages.yml
with:
pkg-type: stable
secrets:
r2-access-key: ${{ secrets.R2_ACCESS_KEY }}
r2-secret-key: ${{ secrets.R2_SECRET_KEY }}
r2-account-id: ${{ secrets.R2_ACCOUNT_ID }}