Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

refactor: simplify build and draft release jobs#30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fioan89 merged 1 commit intomainfromsimplify-build-and-draft-release-pipeline
Mar 10, 2025
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 18 additions & 14 deletions.github/workflows/build.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -77,22 +77,18 @@ jobs:
- name: Run Build
run: ./gradlew clean pluginZip --info

# Prepare plugin archive content for creating artifact
- name: Prepare Plugin Artifact
id: artifact
shell: bash
run: |
cd ${{ github.workspace }}/build/distributions
FILENAME=$(ls *.zip)
unzip "$FILENAME" -d content
echo "filename=${FILENAME:0:-4}" >> $GITHUB_OUTPUT

# Store already-built plugin as an artifact for downloading
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ${{ steps.artifact.outputs.filename }}
path: ./build/distributions/content/*/*
name: zip-artifacts
path: ./build/distributions/*.zip

- name: Upload Release Notes
uses: actions/upload-artifact@v4
with:
name: release-notes
path: RELEASE_NOTES.md

# Prepare a draft release for GitHub Releases page for the manual verification
# If accepted and published, release workflow would be triggered
Expand All@@ -119,8 +115,16 @@ jobs:
- name: Download Build Artifacts
uses: actions/download-artifact@v4
with:
name:release-artifacts
name:zip-artifacts
path: artifacts/
- name: Display the Zip files that are going to be attached
run: ls -R artifacts/

- name: Download Release Notes
uses: actions/download-artifact@v4
with:
name: release-notes
path: notes/

# Create new release draft - which is not publicly visible and requires manual acceptance
- name: Create Release Draft
Expand All@@ -131,4 +135,4 @@ jobs:
--draft artifacts/* \
--target ${GITHUB_REF_NAME} \
--title "v${{ needs.build.outputs.version }}" \
--notes-file RELEASE_NOTES.md
--notes-filenotes/RELEASE_NOTES.md
Loading

[8]ページ先頭

©2009-2025 Movatter.jp