Skip to content

Commit

Permalink
Update CI Action Workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Goellnitz committed Jan 8, 2024
1 parent d918e35 commit 4182723
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 1 deletion.
52 changes: 52 additions & 0 deletions .forgejo/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
#
# Copyright 2024 Martin Goellnitz
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
name: Test and Package Trackdown

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

env:
REGISTRY: ghcr.io

jobs:
build:

runs-on: provocon

steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: https://github.com/actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
- name: Prepare Tools
run: sudo apt update ; sudo apt install -yq jq file curl mercurial git bash bash-completion
- name: Build with Gradle
uses: https://github.com/gradle/gradle-build-action@v2
with:
arguments: build
- name: Extract Package
run: unzip build/distributions/*.zip
- name: Archive Package
uses: actions/upload-artifact@v4
with:
name: trackdown
path: trackdown*
2 changes: 1 addition & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Prepare Tools
run: sudo apt update ; sudo apt install -yq jq file curl mercurial git bash bash-completion
- name: Build with Gradle
uses: gradle/gradle-build-action@937999e9cc2425eddc7fd62d1053baf041147db7
uses: gradle/gradle-build-action@v2
with:
arguments: build
- name: Extract Package
Expand Down

0 comments on commit 4182723

Please sign in to comment.