-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jorrit Poelen
committed
Jul 26, 2024
1 parent
b8c3ba9
commit 8a08b0b
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# This workflow will track github issues | ||
# For more information see: https://globalbioticinteractions.org | ||
|
||
name: Packaging of Issues | ||
|
||
|
||
on: | ||
issues: | ||
types: [opened, edited, closed] | ||
issue_comment: | ||
types: [created, edited] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
package: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up JDK 1.8 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '8' | ||
- name: Download Preston | ||
run: curl -L https://github.com/bio-guoda/preston/releases/download/0.8.6/preston.deb > preston.deb | ||
- name: Install Preston | ||
run: sudo apt -y install ./preston.deb | ||
- name: Track Issues | ||
run: export GITHUB_TOKEN="${{ secrets.GITHUB_TOKEN }}" && preston track "https://github.com/${GITHUB_REPOSITORY}/issues" | ||
- name: Package Tracked Issues | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: tracked-issues | ||
path: | | ||
data/** |