Skip to content

Commit

Permalink
Use neewer release and publish actions
Browse files Browse the repository at this point in the history
  • Loading branch information
samdbmg committed Aug 31, 2024
1 parent ff9faa4 commit 787ea32
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,15 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@v3
- name: Create Tag and Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create release
uses: ncipollo/release-action@v1
with:
tag_name: ${{ github.event.inputs.version }}
release_name: Release ${{ github.event.inputs.version }}
artifacts: "release.tar.gz,foo/*.txt"
body: ${{ github.event.inputs.description }}
draft: false
prerelease: false
tag: ${{ github.event.inputs.version }}
skipIfReleaseExists: true
- name: Publish to Ansible Galaxy
uses: robertdebock/galaxy-action@1.1.0
uses: robertdebock/galaxy-action@1.2.1
with:
galaxy_api_key: ${{ secrets.galaxy_api_key }}
git_branch: main

0 comments on commit 787ea32

Please sign in to comment.