Skip to content

Commit

Permalink
test w/o release
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasferrandiz committed Nov 27, 2023
1 parent 3144631 commit bb6b373
Showing 1 changed file with 38 additions and 37 deletions.
75 changes: 38 additions & 37 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,46 +175,47 @@ jobs:
name: flannel-cni-plugin-binaries
path: dist/

release:
needs: [setup-go, build, test, package]
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1

- uses: actions/download-artifact@v3
with:
name: flannel-cni-plugin-tarfiles
path: ~/release/

- uses: actions/download-artifact@v3
id: download-binaries
with:
name: flannel-cni-plugin-binaries
path: ~/release/

- uses: ncipollo/release-action@v1
id: release-artifacts
if: success()
with:
artifacts: "~/release/*"
# prerelease: true
generateReleaseNotes: true
allowUpdates: true
commit: ${{ github.sha }}
tag: ${{ github.ref_name }}
omitBodyDuringUpdate: true
omitNameDuringUpdate: true
omitPrereleaseDuringUpdate: true
# bodyFile: "body.md"
# token: ${{ secrets.GITHUB_TOKEN }}
# release:
# needs: [setup-go, build, test, package]
# runs-on: ubuntu-latest
# strategy:
# fail-fast: true
# steps:
# - uses: actions/checkout@v3
# with:
# fetch-depth: 1

# - uses: actions/download-artifact@v3
# with:
# name: flannel-cni-plugin-tarfiles
# path: ~/release/

# - uses: actions/download-artifact@v3
# id: download-binaries
# with:
# name: flannel-cni-plugin-binaries
# path: ~/release/

# - uses: ncipollo/release-action@v1
# id: release-artifacts
# if: success()
# with:
# artifacts: "~/release/*"
# # prerelease: true
# generateReleaseNotes: true
# allowUpdates: true
# commit: ${{ github.sha }}
# tag: ${{ github.ref_name }}
# omitBodyDuringUpdate: true
# omitNameDuringUpdate: true
# omitPrereleaseDuringUpdate: true
# # bodyFile: "body.md"
# # token: ${{ secrets.GITHUB_TOKEN }}


build-and-push-images:
needs: [setup-go, build, test, package, release]
# needs: [setup-go, build, test, package, release]
needs: [setup-go, build, test, package]
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down

0 comments on commit bb6b373

Please sign in to comment.