Skip to content

Commit 12d26d6

Browse files
authored
Merge pull request #26 from underw8/main
ci: upgrade deprecated upload artifact action
2 parents 8a3cdde + ca60d9c commit 12d26d6

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: Xcode - Build
22

3-
on:
3+
on:
44
push:
55
pull_request:
66
workflow_dispatch:
7-
inputs:
7+
inputs:
88
release__nightly:
99
description: Create a nightly release
1010
type: boolean
@@ -24,7 +24,7 @@ jobs:
2424
steps:
2525
- uses: maxim-lobanov/setup-xcode@v1
2626
with:
27-
xcode-version: '15.3'
27+
xcode-version: "15.3"
2828
- name: Checkout
2929
uses: actions/checkout@v3
3030
with:
@@ -73,7 +73,7 @@ jobs:
7373
- name: Tar Build Artifact
7474
run: tar -cvf "$archive_path.xcarchive.tar" "$archive_path.xcarchive"
7575
- name: Upload a Build Artifact
76-
uses: actions/upload-artifact@v3
76+
uses: actions/upload-artifact@v4
7777
with:
7878
name: ${{ env.archive_path }}.xcarchive.tar
7979
path: ${{ env.archive_path }}.xcarchive.tar
@@ -90,7 +90,7 @@ jobs:
9090

9191
steps:
9292
- name: Download a Build Artifact
93-
uses: actions/download-artifact@v3
93+
uses: actions/download-artifact@v4
9494
with:
9595
name: ${{ env.archive_path }}.xcarchive.tar
9696
- name: Extract Build Artifact
@@ -114,7 +114,7 @@ jobs:
114114
mv "$archive_path.xcarchive/Products/Applications" Payload
115115
zip -r "$scheme.ipa" "Payload" -x "._*" -x ".DS_Store" -x "__MACOSX"
116116
- name: Upload a Build Artifact
117-
uses: actions/upload-artifact@v3
117+
uses: actions/upload-artifact@v4
118118
with:
119119
name: ${{ env.scheme }}.ipa
120120
path: ${{ env.scheme }}.ipa
@@ -132,14 +132,14 @@ jobs:
132132

133133
steps:
134134
- name: Download a Build Artifact
135-
uses: actions/download-artifact@v3
135+
uses: actions/download-artifact@v4
136136
with:
137137
name: ${{ needs.package.outputs.artifact }}
138138
- name: Nightly Release
139139
uses: andelf/nightly-release@v1
140140
env:
141141
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
142-
with:
142+
with:
143143
body: |
144144
This is a nightly release [created automatically with GitHub Actions workflow](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}/attempts/${{ github.run_attempt }}).
145145
files: |

0 commit comments

Comments
 (0)