Skip to content

Реализация механизма плейсхолдеров - #2

Open
ArKaNeMaN wants to merge 31 commits into
masterfrom
feature/placeholders
Open

Реализация механизма плейсхолдеров#2
ArKaNeMaN wants to merge 31 commits into
masterfrom
feature/placeholders

Conversation

@ArKaNeMaN

Copy link
Copy Markdown
Member

No description provided.

Comment thread .github/workflows/CI.yml
Comment on lines +39 to +59
name: Publish release
runs-on: ubuntu-latest
needs: [build]
if: |
github.event_name == 'release' &&
github.event.action == 'published' &&
startsWith(github.ref, 'refs/tags/')
steps:
- name: Download artifact
uses: actions/download-artifact@v4.1.7
- uses: actions/download-artifact@v4
with:
name: ${{ env.PACKAGE_NAME }}-${{ needs.build.outputs.COMMIT_SHA }}-dev
name: ${{ needs.build.outputs.name }}-${{ needs.build.outputs.sha }}-dev
path: artifact/

- name: Packaging binaries
id: packaging
run: 7z a -mm=Deflate -mfb=258 -mpass=15 -r ${{ env.PACKAGE_NAME }}-${{ needs.build.outputs.SEMVER }}.zip
- name: Package for release
run: |
cd artifact
zip -r "../${{ needs.build.outputs.name }}-${{ github.ref_name }}.zip" .

- name: Publish artifacts
uses: softprops/action-gh-release@v2.0.4
id: publish-job
if: |
startsWith(github.ref, 'refs/tags/') &&
steps.packaging.outcome == 'success'
- uses: softprops/action-gh-release@v2
with:
files: |
*.zip
files: "${{ needs.build.outputs.name }}-*.zip"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants