File tree Expand file tree Collapse file tree 1 file changed +19
-3
lines changed
Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change 1111
1212jobs :
1313 build-and-notarize :
14+ name : Build and Notarize SwiftFormat for Xcode
1415 runs-on : macos-15
1516
1617 steps :
@@ -152,10 +153,25 @@ jobs:
152153 with :
153154 name : SwiftFormat-for-Xcode
154155 path : ${{ env.ZIP_DIR }}/SwiftFormat.for.Xcode.app.zip
155-
156- - name : Upload to Release
156+
157+ upload :
158+ name : Upload release artifacts
159+ runs-on : ubuntu-latest
160+ needs : [build-and-notarize]
161+ steps :
162+ - name : Checkout the repository
163+ uses : actions/checkout@v4
164+ with :
165+ ref : ${{ github.event.release.tag_name || inputs.tag }}
166+ - uses : actions/download-artifact@v4
167+ with :
168+ path : downloaded_artifacts
169+ pattern : SwiftFormat-for-Xcode
170+ - name : Display structure of downloaded files
171+ run : ls -R downloaded_artifacts
172+ - name : Upload release assets
157173 uses : skx/github-action-publish-binaries@master
158174 env :
159175 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
160176 with :
161- args : ${{ env.ZIP_DIR }} /SwiftFormat.for.Xcode.app.zip
177+ args : ' downloaded_artifacts /SwiftFormat-for-Xcode/SwiftFormat .for.Xcode.app.zip'
You can’t perform that action at this time.
0 commit comments