Skip to content

Commit

Permalink
fix: update upload-artifact action
Browse files Browse the repository at this point in the history
  • Loading branch information
jboileau99 committed Jan 10, 2025
1 parent 5da64e6 commit d0337b6
Showing 1 changed file with 22 additions and 23 deletions.
45 changes: 22 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,36 +3,35 @@ name: iOS CI
on:
push:
branches:
- main
- main
pull_request:
branches: [ "main" ]
branches: ["main"]

jobs:
build:

runs-on: ubuntu-latest
env:
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}

steps:
- uses: actions/checkout@v3

- name: Step 1 - Create a temporary artifact folder ketchSDK
run: mkdir ketchSDK

- name: Step 2 - Add artifacts to publish to the temp folder
run: |
cp -a Sources ketchSDK/
cp -a LICENSE ketchSDK/
- name: Step 3 - Archive using zip or tar
uses: NSCoder/archive-action@v1.0.0
with:
args: tar -czvf ketchSDK.tar.gz ketchSDK/

- name: Step 4 - Use the Upload Artifact GitHub Action
uses: actions/upload-artifact@v2
with:
name: ketchSDK
path: ketchSDK.tar.gz
- uses: actions/checkout@v3

- name: Step 1 - Create a temporary artifact folder ketchSDK
run: mkdir ketchSDK

- name: Step 2 - Add artifacts to publish to the temp folder
run: |
cp -a Sources ketchSDK/
cp -a LICENSE ketchSDK/
- name: Step 3 - Archive using zip or tar
uses: NSCoder/archive-action@v1.0.0
with:
args: tar -czvf ketchSDK.tar.gz ketchSDK/

- name: Step 4 - Use the Upload Artifact GitHub Action
uses: actions/upload-artifact@v4
with:
name: ketchSDK
path: ketchSDK.tar.gz

0 comments on commit d0337b6

Please # to comment.