Skip to content

Commit 016db49

Browse files
committed
testing version and tag
1 parent 0635f93 commit 016db49

5 files changed

Lines changed: 73 additions & 132 deletions

File tree

.github/workflows/build-native.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
#name: GraalVM Native Builds
2-
#on: [push, pull_request]
3-
#jobs:
4-
# build:
5-
# name: cli-utils on ${{ matrix.os }}
6-
# runs-on: ${{ matrix.os }}
7-
# strategy:
8-
# matrix:
9-
# os: [macos-latest, windows-latest, ubuntu-latest]
10-
# steps:
11-
# - uses: actions/checkout@v4
12-
# - uses: graalvm/setup-graalvm@v1
13-
# with:
14-
# java-version: '17'
15-
# distribution: 'graalvm'
16-
# github-token: ${{ secrets.GITHUB_TOKEN }}
17-
# native-image-job-reports: 'true'
18-
#
19-
# - name: Build with Gradle
20-
# uses: gradle/gradle-build-action@v2
21-
# with:
22-
# arguments: nativeCompile
23-
#
24-
# - name: Upload binary
25-
# uses: actions/upload-artifact@v3
26-
# with:
27-
# name: cli-utils-${{ matrix.os }}
28-
# path: ${{ github.workspace }}/**/build/native/nativeCompile/*
29-
# if-no-files-found: error
1+
name: GraalVM Native Builds
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
name: cli-utils on ${{ matrix.os }}
6+
runs-on: ${{ matrix.os }}
7+
strategy:
8+
matrix:
9+
os: [macos-latest, windows-latest, ubuntu-latest]
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: graalvm/setup-graalvm@v1
13+
with:
14+
java-version: '17'
15+
distribution: 'graalvm'
16+
github-token: ${{ secrets.GITHUB_TOKEN }}
17+
native-image-job-reports: 'true'
18+
19+
- name: Build with Gradle
20+
uses: gradle/gradle-build-action@v2
21+
with:
22+
arguments: nativeCompile
23+
24+
- name: Upload binary
25+
uses: actions/upload-artifact@v3
26+
with:
27+
name: cli-utils-${{ matrix.os }}
28+
path: ${{ github.workspace }}/**/build/native/nativeCompile/*
29+
if-no-files-found: error

.github/workflows/main-workflow.yaml

Lines changed: 0 additions & 59 deletions
This file was deleted.
Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
## .github/workflows/publish-release.yml
2-
#name: Publish release
3-
#on:
4-
# push:
5-
# tags:
6-
# - "*"
7-
#jobs:
8-
# publish:
9-
# name: Publish release
10-
# runs-on: ubuntu-latest
11-
# permissions:
12-
# contents: write
13-
# steps:
14-
# - name: Checkout
15-
# uses: actions/checkout@v3
16-
# - name: Publish release
17-
# uses: ghalactic/github-release-from-tag@v5
1+
# .github/workflows/publish-release.yml
2+
name: Publish release
3+
on:
4+
push:
5+
tags:
6+
- "*"
7+
jobs:
8+
publish:
9+
name: Publish release
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v3
16+
- name: Publish release
17+
uses: ghalactic/github-release-from-tag@v5

.github/workflows/tag.yaml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
#name: Tag
2-
#on:
3-
# workflow_run:
4-
# workflows: ["GraalVM Native Builds"]
5-
# branches: [main]
6-
# types:
7-
# - completed
8-
#
9-
#jobs:
10-
# tag:
11-
# if: ${{ github.event.workflow_run.conclusion == 'success' }}
12-
# runs-on: ubuntu-22.04
13-
# permissions:
14-
# contents: write
15-
# steps:
16-
# - uses: actions/checkout@v3
17-
# with:
18-
# fetch-depth: '0'
19-
#
20-
# - name: Bump version and push tag
21-
# uses: anothrNick/github-tag-action@1.64.0 # Don't use @master or @v1 unless you're happy to test the latest version
22-
# env:
23-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # if you don't want to set write permissions use a PAT token
24-
# WITH_V: true
25-
# DRY_RUN: true
26-
# INITIAL_VERSION: 1.0.0
1+
name: Tag
2+
on:
3+
workflow_run:
4+
workflows: ["GraalVM Native Builds"]
5+
branches: [main]
6+
types:
7+
- completed
8+
9+
jobs:
10+
tag:
11+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
12+
runs-on: ubuntu-22.04
13+
permissions:
14+
contents: write
15+
steps:
16+
- uses: actions/checkout@v3
17+
with:
18+
fetch-depth: '0'
19+
20+
- name: Bump version and push tag
21+
uses: anothrNick/github-tag-action@1.64.0 # Don't use @master or @v1 unless you're happy to test the latest version
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # if you don't want to set write permissions use a PAT token
24+
WITH_V: true
25+
DRY_RUN: true
26+
INITIAL_VERSION: 1.0.0

dupliwise/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
}
77

88
group = "com.gvb"
9-
version = "1.0.0"
9+
version = "0.0.1"
1010

1111
java {
1212
sourceCompatibility = JavaVersion.VERSION_17

0 commit comments

Comments
 (0)