Skip to content

Commit 8e40c6a

Browse files
Add Artifactory workflow
1 parent 4a2eed0 commit 8e40c6a

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.github/workflows/artifactory.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Artifactory
2+
3+
on:
4+
push:
5+
tags: ['[0-9]+.[0-9]+.[0-9]+']
6+
7+
env:
8+
DEVELOPER_DIR: /Applications/Xcode_14.3.app/Contents/Developer
9+
10+
jobs:
11+
artifactory:
12+
name: Artifactory
13+
runs-on: macos-13
14+
concurrency:
15+
group: ${{ github.ref_name }}
16+
cancel-in-progress: true
17+
steps:
18+
- name: Install dependencies
19+
run: brew install jfrog-cli
20+
- name: Checkout source
21+
uses: actions/checkout@v3
22+
- name: Archive
23+
run: tar -czf "CollectionBuilders-${GITHUB_REF_NAME}.tar.gz" Sources
24+
- name: Upload
25+
run: >
26+
jf rt u
27+
--url="https://tinder.jfrog.io/artifactory"
28+
--access-token="${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}"
29+
--flat="true"
30+
"CollectionBuilders-${GITHUB_REF_NAME}.tar.gz"
31+
"swift-package-releases/CollectionBuilders/"

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
[![Swift](https://github.com/Tinder/CollectionBuilders/actions/workflows/swift.yml/badge.svg?event=push)](https://github.com/Tinder/CollectionBuilders/actions/workflows/swift.yml)
22
 
33
[![Bazel](https://github.com/Tinder/CollectionBuilders/actions/workflows/bazel.yml/badge.svg?event=push)](https://github.com/Tinder/CollectionBuilders/actions/workflows/bazel.yml)
4+
 
5+
[![Artifactory](https://github.com/Tinder/CollectionBuilders/actions/workflows/artifactory.yml/badge.svg?event=push)](https://github.com/Tinder/CollectionBuilders/actions/workflows/artifactory.yml)
46

57
# Collection Builders
68

0 commit comments

Comments
 (0)