Skip to content

Commit

Permalink
Rename artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
valter-silva-au committed Jun 5, 2021
1 parent c4936c7 commit 699c668
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
# Sequence of patterns matched against refs/tags
tags:
- '*' # Push events to matching v*, i.e. v1.0, v20.15.10
- '*' # Push events to matching any tags, 0.1.0

jobs:
build:
Expand Down Expand Up @@ -44,15 +44,18 @@ jobs:
- uses: actions/download-artifact@v2
with:
name: aws-auto-inventory-windows-latest
- run: mv aws-auto-inventory-ubuntu-latest aws-auto-inventory-ubuntu
- run: mv aws-auto-inventory-macos-latest aws-auto-inventory-macos
- run: mv aws-auto-inventory-windows-latest.exe aws-auto-inventory-windows.exe
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
prerelease: true
draft: true
files: |
aws-auto-inventory-ubuntu-latest
aws-auto-inventory-macos-latest
aws-auto-inventory-windows-latest.exe
aws-auto-inventory-ubuntu
aws-auto-inventory-macos
aws-auto-inventory-windows.exe
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 699c668

Please sign in to comment.