diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index bc7c3e152e..8deb2d8e81 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -29,7 +29,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Code checkout - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 - name: Install musl-gcc if: contains(matrix.platform.target, 'musl') run: sudo apt install -y musl-tools @@ -39,7 +39,7 @@ jobs: matrix.platform.target == 'x86_64-unknown-linux-gnu' run: rsync -rv --exclude=.git . ../cloud-hypervisor-${{ github.event.ref }} - name: Build ${{ matrix.platform.target }} - uses: houseabsolute/actions-rust-cross@v1 + uses: houseabsolute/actions-rust-cross@21b0f18dc621b25bfae556ff2791fca4173121e8 # v1.0.8 with: command: build target: ${{ matrix.platform.target }} @@ -54,7 +54,7 @@ jobs: cp target/${{ matrix.platform.target }}/release/ch-remote ./${{ matrix.platform.name_ch_remote }} - name: Upload Release Artifacts if: github.event_name == 'create' && github.event.ref_type == 'tag' - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: Artifacts for ${{ matrix.platform.target }} path: | @@ -80,13 +80,13 @@ jobs: github.event_name == 'create' && github.event.ref_type == 'tag' && matrix.platform.target == 'x86_64-unknown-linux-gnu' id: upload-release-cloud-hypervisor-vendored-sources - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: path: cloud-hypervisor-${{ github.event.ref }}.tar.xz name: cloud-hypervisor-${{ github.event.ref }}.tar.xz - name: Create GitHub Release if: github.event_name == 'create' && github.event.ref_type == 'tag' - uses: softprops/action-gh-release@v3 + uses: softprops/action-gh-release@efb35369e0ad2afab669f228072c1b0d510eae64 # v3.0.3 with: draft: true files: |