From f4b2f6d672843fb6a624341862df6d7e2d2a91f3 Mon Sep 17 00:00:00 2001 From: chanhihi Date: Tue, 22 Aug 2023 21:21:55 +0900 Subject: [PATCH 1/2] =?UTF-8?q?cd:=20archive=20=EA=B8=B0=EB=8A=A5=EC=9C=BC?= =?UTF-8?q?=EB=A1=9C=20deploy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/Deployment.yml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/Deployment.yml b/.github/workflows/Deployment.yml index c4dceba..7ca51c5 100644 --- a/.github/workflows/Deployment.yml +++ b/.github/workflows/Deployment.yml @@ -18,6 +18,7 @@ jobs: XCODE_PROJECT: "Box42.xcodeproj" XCODE_SCHEME: "Box42" XCODE_ARCHIVE_PATH: "Box42.xcarchive" + XCODE_ARCHIVE_EXPORT_PATH: "./archive" XCODE_EXPORT_PATH: "./artifacts" steps: - name: Checkout @@ -42,16 +43,24 @@ jobs: - name: Archive run: | - mv Sources/Box42/Resources/ExportOptions.plist . && - xcodebuild archive -project $XCODE_PROJECT -scheme $XCODE_SCHEME -archivePath $XCODE_ARCHIVE_PATH + mv Box42/Resources/ExportOptions.plist . && + xcodebuild archive -project $XCODE_PROJECT -scheme $XCODE_SCHEME -archivePath "$XCODE_ARCHIVE_EXPORT_PATH"/"$XCODE_ARCHIVE_PATH" - name: Distribute run: | mkdir -p artifacts && xcodebuild -exportArchive -archivePath "$XCODE_ARCHIVE_PATH" -exportOptionsPlist ExportOptions.plist -exportPath "$XCODE_EXPORT_PATH" - - name: Upload Box42-Artifacts + # Artifact가 Archive 기능으로 사용할 부분 + - name: Upload Box42-Archive uses: actions/upload-artifact@v2 with: - name: Box42-${{ github.ref_name }} - path: $XCODE_EXPORT_PATH + name: Box42-${{ steps.tag_version.outputs.new_tag }} + path: $XCODE_ARCHIVE_EXPORT_PATH + + # Distribute 기능 활성화시 Artifact에서 사용할 부분 + # - name: Upload Box42-Artifacts + # uses: actions/upload-artifact@v2 + # with: + # name: Box42-${{ steps.tag_version.outputs.new_tag }} + # path: $XCODE_EXPORT_PATH From ed9c635385392c6e0ea68fde2cb6127b6f4a7270 Mon Sep 17 00:00:00 2001 From: chanhihi Date: Tue, 22 Aug 2023 21:22:21 +0900 Subject: [PATCH 2/2] =?UTF-8?q?ci:=20semantic=20=EC=98=88=EC=99=B8=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/semantic.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/semantic.yml diff --git a/.github/semantic.yml b/.github/semantic.yml new file mode 100644 index 0000000..0cd566c --- /dev/null +++ b/.github/semantic.yml @@ -0,0 +1,17 @@ +types: # default: feat | fix | docs | style | refactor | perf | test | build | ci | chore | revert + - feat + - fix + - docs + - style + - refactor + - perf + - test + - build + - ci + - cd + - wip + - chore + - revert + - Develop to Main + - Revert + - Merge