diff --git a/.github/workflows/dispatch_build.yml b/.github/workflows/dispatch_build.yml deleted file mode 100644 index c3e4fc9b..00000000 --- a/.github/workflows/dispatch_build.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Dispatch Build - -on: - workflow_dispatch: - inputs: - isRelease: - required: true - type: boolean -jobs: - build-and-upload: - uses: ./.github/workflows/build_and_upload.yml - with: - isRelease: ${{ inputs.isRelease }} - shouldUpload: true - secrets: inherit \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7ac0faf7..90a17c5f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,4 +11,4 @@ jobs: with: isRelease: true shouldUpload: true - secrets: inherit \ No newline at end of file + secrets: inherit diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml new file mode 100644 index 00000000..94050e6f --- /dev/null +++ b/.github/workflows/tag.yml @@ -0,0 +1,19 @@ +name: Dispatch Build + +on: + workflow_dispatch: + +jobs: + add-tag: + runs-on: ubuntu-latest + steps: + - name: Create Git tag + uses: actions/github-script@v7 + with: + script: | + github.git.createRef({ + owner: context.repo.owner, + repo: context.repo.repo, + ref: "refs/tags/1.0.0-b9-test", + sha: context.sha + }) \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 0a21a4ca..4d850092 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1 @@ -xUser= -xPass= \ No newline at end of file +libVersion=1.0.0-b9 \ No newline at end of file