aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/release.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index d56ccb8..e186f33 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -15,6 +15,11 @@ on:
options:
- minor
- patch
+ dry_run:
+ description: "Dry run"
+ required: false
+ default: false
+ type: boolean
permissions:
contents: write
@@ -167,7 +172,15 @@ jobs:
cd tmp
sha256sum *.tar.gz > SHA256SUMS
+ - name: Upload artifacts (dry run)
+ if: ${{ inputs.dry_run }}
+ uses: actions/upload-artifact@v4
+ with:
+ name: release-artifacts
+ path: tmp/
+
- name: Release
+ if: ${{ !inputs.dry_run }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |