Skip to content
This repository was archived by the owner on Jan 12, 2022. It is now read-only.

Commit c142d16

Browse files
committed
Try a different github action
1 parent 4e2d182 commit c142d16

File tree

1 file changed

+7
-17
lines changed

1 file changed

+7
-17
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,13 @@ jobs:
2020
name: 'godotenv'
2121
compress: 'true'
2222
dest: 'dist'
23-
- name: Create Release
24-
id: create_release
25-
uses: actions/create-release@v1
26-
env:
27-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
- name: Publish Binaries
24+
uses: svenstaro/upload-release-action@v2
2825
with:
29-
tag_name: ${{ github.ref }}
30-
release_name: Release ${{ github.ref }}
31-
draft: false
32-
prerelease: ${{ contains(github.ref, 'pre') }}
33-
- name: Upload Release Assets
34-
id: upload-release-asset
35-
uses: actions/upload-release-asset@v1
36-
env:
37-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38-
with:
39-
upload_url: ${{ steps.create_release.outputs.upload_url }}
26+
repo_token: ${{ secrets.GITHUB_TOKEN }}
27+
name: Release ${{ github.ref }}
28+
tag: ${{ github.ref }}
4029
file: dist/*
30+
file_glob: true
4131
overwrite: true
42-
file_glob: true
32+

0 commit comments

Comments
 (0)