Skip to content

Commit

Permalink
test one
Browse files Browse the repository at this point in the history
  • Loading branch information
aramikm committed Aug 9, 2023
1 parent 48e96b9 commit 968f0a5
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Release Java
run-name: Cut Release ${{github.event.inputs.release-version || github.ref_name}}
concurrency:
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true
on:
push:
# tags:
# - "v[0-9]+.[0-9]+.[0-9]+java" # ex. v1.0.0+java
# - "v0.0.1-rc[0-9]+java" # used for testing only
# branches:
# - "test_release_java_[0-9]+" # used for testing only

workflow_dispatch:
inputs:
release-version:
description: "Release version (v#.#.#[-rc#])+java"
required: true

env:
NEW_RELEASE_TAG_FROM_UI: ${{github.event.inputs.release-version}}
NEW_RELEASE_TAG: ${{github.event.inputs.release-version || github.ref_name}}
LATEST_FULL_RELEASE_TAG: _LATEST-FULL-RELEASE
TEST_RUN: ${{contains(github.event.inputs.release-version || github.ref_name, '-rc')}}

jobs:
build-artifacts:
name: test
runs-on: windows-latest
steps:
- name: setup files
run: |
touch test1.sources.jar
touch test1.jar
ls
- name: Rename Packages
run: |
for file in *.jar; do mv "$file" "${file/.jar/-${{matrix.os}}.jar}"; done
ls

0 comments on commit 968f0a5

Please sign in to comment.