Skip to content

Commit

Permalink
Updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
dennykorsukewitz committed Mar 19, 2024
1 parent a0bcd3c commit b229be1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 109 deletions.
98 changes: 0 additions & 98 deletions .github/workflows/release-OPM-Maker.yml

This file was deleted.

31 changes: 20 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Release

on:
push:
tags:
- "*"
# branches: ["dev"]
workflow_dispatch:
inputs:
Expand Down Expand Up @@ -80,7 +82,7 @@ jobs:
su -c "bin/${{ inputs.FRAMEWORK || 'znuny' }}.Console.pl Maint::Cache::Delete" - "${{ inputs.FRAMEWORK || 'znuny' }}"
su -c "bin/${{ inputs.FRAMEWORK || 'znuny' }}.Console.pl Maint::Config::Rebuild --cleanup" - "${{ inputs.FRAMEWORK || 'znuny' }}"
- name: Build Package
- name: Build OPM Package
run: |
cd znuny
su -c "bin/${{ inputs.FRAMEWORK || 'znuny' }}.Console.pl Dev::Package::Build ${{ github.event.repository.name }}.sopm ./" - "${{ inputs.FRAMEWORK || 'znuny' }}"
Expand All @@ -90,13 +92,20 @@ jobs:
name: OPM
path: "znuny/${{ github.event.repository.name }}*.opm"

# Release:
# environment:
# name: Release
# url: "https://github.com/dennykorsukewitz/${{ github.event.repository.name }}"
# runs-on: ubuntu-latest
# needs: Build
# steps:
# - name: Deploy to GitHub Pages
# id: deployment
# uses: actions/deploy-pages@v2
Release:
environment:
name: Release
url: "https://github.com/dennykorsukewitz/${{ github.event.repository.name }}"
runs-on: ubuntu-latest
needs: Build
steps:
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: OPM
- uses: ncipollo/release-action@v1
with:
artifacts: "${{ github.event.repository.name }}*.opm,doc/en/${{ github.event.repository.name }}.pdf"
bodyFile: "RELEASE.md"
draft: true
generateReleaseNotes: true

0 comments on commit b229be1

Please sign in to comment.