Skip to content

Commit 517fbd0

Browse files
Add Artifactory workflow
1 parent c554311 commit 517fbd0

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

.github/workflows/artifactory.yml

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

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
[![Swift](https://github.com/Tinder/Nodes-Tree-Visualizer/actions/workflows/swift.yml/badge.svg?event=push)](https://github.com/Tinder/Nodes-Tree-Visualizer/actions/workflows/swift.yml)
22
 
33
[![DocC](https://github.com/Tinder/Nodes-Tree-Visualizer/actions/workflows/docc.yml/badge.svg?event=push)](https://github.com/Tinder/Nodes-Tree-Visualizer/actions/workflows/docc.yml)
4+
 
5+
[![Artifactory](https://github.com/Tinder/Nodes-Tree-Visualizer/actions/workflows/artifactory.yml/badge.svg?event=push)](https://github.com/Tinder/Nodes-Tree-Visualizer/actions/workflows/artifactory.yml)
46

57
# Nodes Tree Visualizer
68

0 commit comments

Comments
 (0)