Compare commits
4 Commits
2.0.3
...
renovate/h
| Author | SHA1 | Date | |
|---|---|---|---|
| 8eb123be16 | |||
|
b9f9f87068
|
|||
|
cd9815dfb3
|
|||
|
50ff19fae2
|
@@ -1,15 +1,12 @@
|
|||||||
---
|
---
|
||||||
name: Cog release
|
name: Cog release
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
workflow_call:
|
workflow_call:
|
||||||
# inputs:
|
inputs:
|
||||||
# check-latest-tag-only:
|
ref:
|
||||||
# type: boolean
|
type: string
|
||||||
# required: false
|
required: false
|
||||||
# default: true
|
default: ""
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
@@ -20,6 +17,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
ref: ${{ inputs.ref == '' && github.sha || inputs.ref }}
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
git config user.name gitea-bot
|
git config user.name gitea-bot
|
||||||
@@ -46,5 +44,5 @@ jobs:
|
|||||||
- name: Upload github release
|
- name: Upload github release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
body_path: ${{ steps.changelog.outputs.stdout }}
|
body: ${{ steps.changelog.outputs.stdout }}
|
||||||
tag_name: ${{ steps.release.outputs.version }}
|
tag_name: ${{ steps.release.outputs.version }}
|
||||||
|
|||||||
12
.gitea/workflows/release.yml
Normal file
12
.gitea/workflows/release.yml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
name: Cog release
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
name: Create release
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
uses: ./.gitea/workflows/cog-release.yml
|
||||||
@@ -51,7 +51,7 @@ jobs:
|
|||||||
make copy-install;
|
make copy-install;
|
||||||
cd ${{ github.workspace }};
|
cd ${{ github.workspace }};
|
||||||
rm -rf blackbox;
|
rm -rf blackbox;
|
||||||
- uses: hashicorp/setup-terraform@v3
|
- uses: hashicorp/setup-terraform@v4
|
||||||
if: ${{ steps.check.outputs.code == 2 }}
|
if: ${{ steps.check.outputs.code == 2 }}
|
||||||
with:
|
with:
|
||||||
terraform_version: 1.7.5
|
terraform_version: 1.7.5
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: hashicorp/setup-terraform@v3
|
- uses: hashicorp/setup-terraform@v4
|
||||||
with:
|
with:
|
||||||
terraform_version: 1.7.5
|
terraform_version: 1.7.5
|
||||||
cli_config_credentials_token: ${{ secrets.tf-api-token }}
|
cli_config_credentials_token: ${{ secrets.tf-api-token }}
|
||||||
|
|||||||
Reference in New Issue
Block a user