Skip to content

Commit

Permalink
Update pipeline-development.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
holzi1005 authored Feb 8, 2025
1 parent b5ee3bc commit b0e281e
Showing 1 changed file with 5 additions and 36 deletions.
41 changes: 5 additions & 36 deletions .github/workflows/pipeline-development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,45 +31,14 @@ jobs:
artifact:
uses: ./.github/workflows/task-artifact.yml

create_release:
prerelease:
needs:
- artifact
- version
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/download-artifact@v4
with:
name: artifact_${{github.run_number}}

- run: unzip -qq artifact_${{github.run_number}}.zip -d artifact

- name: Set laF_version in .env
run: |
sed -i 's/^laF_version=.*/laF_version=${{ needs.version.outputs.version }}/' .env
- name: Archive Release for application
uses: thedoctor0/[email protected]
with:
type: 'zip'
filename: 'application.zip'
exclusions: '*.git* *.github* /*node_modules/* /*var/* .editorconfig'
directory: artifact

- name: Create new Release with semantic-version tag
uses: ncipollo/release-action@v1
id: create_release
with:
prerelease: true
name: DEV Release ${{ needs.version.outputs.version }}
tag: ${{ needs.version.outputs.version }}
artifacts: artifact/application.zip
artifactContentType: application/zip
bodyFile: RELEASE_NOTE.md
uses: ./.github/workflows/task-release.yml
with:
version: ${{ needs.version.outputs.version }}
prerelease: true

docker:
needs:
Expand Down

0 comments on commit b0e281e

Please sign in to comment.