Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
pip3 --version || true

- name: Setup jq
uses: dcarbone/install-jq-action@v2
uses: dcarbone/install-jq-action@8867ddb4788346d7c22b72ea2e2ffe4d514c7bcb # v2.1.0
with:
version: '1.6'

Expand Down Expand Up @@ -202,7 +202,7 @@ jobs:
fi

- name: Checkout taosgen code
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
fetch-depth: 0
clean: true
Expand Down Expand Up @@ -249,7 +249,7 @@ jobs:

- name: Setup Conan (Linux)
if: runner.os == 'Linux'
uses: conan-io/setup-conan@v1
uses: conan-io/setup-conan@2f4bd34e8e0af00e1a77a66e1d284e06d71d703f # v1.3.0
with:
version: 2.20.1
use_venv: true
Expand All @@ -265,7 +265,7 @@ jobs:
echo "PATH=$HOME/.conan-venv/bin:$PATH" >> $GITHUB_ENV

- name: Cache Conan packages
uses: actions/cache@v4
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: $HOME/.conan2/p
key: conan2-${{ runner.os }}-${{ matrix.conan_arch }}-${{ hashFiles('conanfile.*') }}
Expand Down Expand Up @@ -423,7 +423,7 @@ jobs:

- name: Upload coverage to Codecov
if: inputs.build_type == 'Debug'
uses: codecov/codecov-action@v5
uses: codecov/codecov-action@75cd11691c0faa626561e295848008c8a7dddffe # v5.5.4
with:
files: coverage_upload.info
flags: ${{ runner.os }}-${{ matrix.arch }}
Expand Down Expand Up @@ -473,7 +473,7 @@ jobs:

- name: Upload release artifact
if: ${{ inputs.build_type == 'Release' && inputs.package_release == true }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: taosgen-${{ runner.os }}-${{ matrix.arch }}
path: release/taosgen-v*.tar.gz
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,36 +25,36 @@ jobs:
steps:
- name: Draft Release Notes
id: release_notes
uses: release-drafter/release-drafter@v6
uses: release-drafter/release-drafter@6a93d829887aa2e0748befe2e808c66c0ec6e4c7 # v6.4.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Download build artifact (linux-x64)
uses: actions/download-artifact@v4
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
name: taosgen-Linux-x64
path: ./artifacts

- name: Download build artifact (linux-arm64)
uses: actions/download-artifact@v4
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
name: taosgen-Linux-arm64
path: ./artifacts

- name: Download build artifact (macos-x64)
uses: actions/download-artifact@v4
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
name: taosgen-macOS-x64
path: ./artifacts

- name: Download build artifact (macos-arm64)
uses: actions/download-artifact@v4
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
name: taosgen-macOS-arm64
path: ./artifacts

- name: Create GitHub Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v0.1.15
with:
Comment thread
feici02 marked this conversation as resolved.
tag_name: ${{ github.ref_name }}
name: taosgen ${{ github.ref_name }} Release
Expand Down
Loading