Skip to content

Commit

Permalink
feat: Add publish GH workflow (#96)
Browse files Browse the repository at this point in the history
* Add publish GH workflow

* ci: Generate code

---------

Co-authored-by: Seam Bot <[email protected]>
  • Loading branch information
andrii-balitskyi and seambot authored Apr 10, 2024
1 parent d10976b commit ddc8358
Show file tree
Hide file tree
Showing 28 changed files with 631 additions and 133 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Publish

run-name: Publish ${{ github.ref_name }}

on:
push:
tags:
- v*

jobs:
release:
name: GitHub Releases
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Generate release notes
id: changelog
run: |
mkdir tmp
outfile=tmp/changelog.txt
echo "outfile=${outfile}" >> $GITHUB_OUTPUT
npx standard-changelog@^2.0.0 --release-count 2 --infile $outfile.tmp --outfile $outfile.tmp
sed '1,3d' $outfile.tmp > $outfile
- name: Create GitHub release
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.GH_TOKEN }}
prerelease: ${{ contains(github.ref_name, '-') }}
files: ""
body_path: ${{ github.workspace }}/${{ steps.changelog.outputs.outfile }}
65 changes: 65 additions & 0 deletions src/Objects/AcsCredential.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions src/Objects/AcsCredentialErrors.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 37 additions & 0 deletions src/Objects/AcsCredentialPool.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 33 additions & 0 deletions src/Objects/AcsCredentialProvisioningAutomation.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions src/Objects/AcsCredentialVisionlineMetadata.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions src/Objects/AcsCredentialWarnings.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 35 additions & 0 deletions src/Objects/AcsEntrance.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 31 additions & 0 deletions src/Objects/AcsEntranceLatchMetadata.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 27 additions & 0 deletions src/Objects/AcsEntranceProfiles.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 32 additions & 0 deletions src/Objects/AcsEntranceVisionlineMetadata.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ddc8358

Please sign in to comment.