-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yaml
More file actions
35 lines (32 loc) · 990 Bytes
/
action.yaml
File metadata and controls
35 lines (32 loc) · 990 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Synchronize deb packages to Gemfury repository.
author: Jakub Kuczys
description: >-
Synchronize deb packages to Gemfury repository.
Useful for debs that aren't distributed through an apt repository.
branding:
color: blue
icon: download
runs:
using: composite
steps:
- name: Checkout the repository.
uses: actions/checkout@v5
- name: Setup Python for the action.
id: python-for-action
uses: actions/setup-python@v6
with:
python-version: "3.11"
update-environment: false
- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y devscripts
shell: bash
- name: Run the action.
run: >-
pipx run
--python '${{ steps.python-for-action.outputs.python-path }}'
--spec '${{ github.action_path }}'
sync-debs-to-gemfury
shell: bash
env:
GITHUB_TOKEN: ${{ github.token }}
GITHUB_REPOSITORY: ${{ github.repository }}