This is an automated email from Gerrit. "Samuel Obuch <samuel.ob...@espressif.com>" just uploaded a new patch set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/8756
-- gerrit commit f8573f6efec1d29ab1f659939ed6ea12d0b682d3 Author: Samuel Obuch <samuel.ob...@espressif.com> Date: Thu Feb 13 14:28:27 2025 +0100 github/workflow: fix warnings for github actions - update ubuntu to 22.04 - pass GITHUB_TOKEN to delete-tag-and-release as input - configure release-action to overwrite "latest" release Change-Id: I83d69cfd7af7c44e67b1115ac843a0b41d6f87b9 Signed-off-by: Samuel Obuch <samuel.ob...@espressif.com> diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 36b2f3bb3d..67c450670f 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -8,7 +8,7 @@ name: OpenOCD Snapshot jobs: package: - runs-on: [ubuntu-20.04] + runs-on: [ubuntu-22.04] env: DL_DIR: ../downloads BUILD_DIR: ../build @@ -102,8 +102,8 @@ jobs: # add missing dlls cd $HOST-root/usr cp `$HOST-gcc --print-file-name=libwinpthread-1.dll` ./bin/ - # required by libftdi1.dll. For the gcc-mingw-10.3.x or later "libgcc_s_dw2-1.dll" will need to be copied. - cp `$HOST-gcc --print-file-name=libgcc_s_sjlj-1.dll` ./bin/ + # required by libftdi1.dll + cp `$HOST-gcc --print-file-name=libgcc_s_dw2-1.dll` ./bin/ # prepare the artifact ARTIFACT="openocd-${OPENOCD_TAG}-${HOST}.tar.gz" tar -czf $ARTIFACT * @@ -119,8 +119,7 @@ jobs: with: delete_release: true tag_name: ${{ env.RELEASE_NAME }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + github_token: ${{ secrets.GITHUB_TOKEN }} - name: Create Release uses: ncipollo/release-action@v1 with: @@ -130,3 +129,6 @@ jobs: artifacts: ${{ env.ARTIFACT_PATH }} prerelease: ${{ env.IS_PRE_RELEASE }} token: ${{ secrets.GITHUB_TOKEN }} + allowUpdates: true + removeArtifacts: true + updateOnlyUnreleased: true --