diff --git a/.github/workflows/pipeline-development.yml b/.github/workflows/pipeline-development.yml index 0e09c370..75390f34 100644 --- a/.github/workflows/pipeline-development.yml +++ b/.github/workflows/pipeline-development.yml @@ -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/zip-release@0.7.1 - 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: