Skip to content

Commit

Permalink
ci: switch to prebuilt since binary.
Browse files Browse the repository at this point in the history
  • Loading branch information
outofcoffee committed Nov 17, 2023
1 parent 33a4f3c commit 1882024
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,24 @@ jobs:
contents: write
env:
AWS_REGION: "eu-west-1"
TESTCONTAINERS_RYUK_DISABLED: "true"
CONTAINER_BUILDER: "buildx"
SINCE_VERSION: "0.14.2"
TESTCONTAINERS_RYUK_DISABLED: "true"
steps:
- uses: actions/checkout@v4

- name: Install since
if: ${{ (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/develop') && matrix.java == '11' }}
run: |
cd "$( mktemp -d )"
curl --fail -L -o since.tar.gz https://github.com/release-tools/since/releases/download/v${SINCE_VERSION}/since_${SINCE_VERSION}_linux_amd64.tar.gz
tar xvf since.tar.gz
cp since /usr/local/bin
- name: Write changelog
if: ${{ (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/develop') && matrix.java == '11' }}
env:
GOBIN: /usr/local/bin/
run: |
mkdir -p build
go install github.com/outofcoffee/since@v0.14.0
since changelog extract -q > build/CHANGES.md
cat build/CHANGES.md
Expand Down

0 comments on commit 1882024

Please sign in to comment.