Skip to content

Commit

Permalink
test release ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Rearth authored Oct 19, 2023
1 parent 74c89b1 commit 6772dcb
Showing 1 changed file with 22 additions and 9 deletions.
31 changes: 22 additions & 9 deletions .github/workflows/release-zip.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,27 @@
name: Zip Files
name: Releases

on: [push]
on:
push:
tags:
- '*'

jobs:
zip-files:

build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v2
- name: Archive result artifacts
uses: actions/upload-artifact@v3
with:
name: origen-build-${{ github.sha }}.zip
path: ./
- uses: actions/checkout@v3
- uses: vimtor/[email protected]
with:
files: ./
dest: origen-${{github.ref_name}}.zip
- uses: ncipollo/release-action@v1
with:
artifacts: "origen-${{github.ref_name}}.zip"
artifactErrorsFailBuild: "true"
draft: "true"
generateReleaseNotes: "true"
makeLatest: "true"
bodyFile: "body.md"

0 comments on commit 6772dcb

Please sign in to comment.