use fork of getting the tag

This commit is contained in:
knoxfighter 2020-11-24 01:58:57 +01:00
parent dc71a8bcd4
commit dc7490b055

View File

@ -8,8 +8,9 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-go@v2
- name: Get tag name
uses: olegtarasov/get-tag@v2
- name: Get git tag
id: tag_name
uses: little-core-labs/get-git-tag@v3.0.2
- name: Get release
id: get_release
uses: bruceadams/get-release@v1.2.2
@ -23,7 +24,7 @@ jobs:
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: ./build/factorio-server-manager-windows.zip
asset_name: factorio-server-manager-windows-${GIT_TAG_NAME}.zip
asset_name: factorio-server-manager-windows-${{ steps.tag_name.outputs.tag }}.zip
asset_content_type: application/octet-stream
- name: Upload release (linux)
uses: actions/upload-release-asset@v1.0.2
@ -32,5 +33,5 @@ jobs:
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: ./build/factorio-server-manager-linux.zip
asset_name: factorio-server-manager-linux-${GIT_TAG_NAME}.zip
asset_name: factorio-server-manager-linux-${{ steps.tag_name.outputs.tag }}.zip
asset_content_type: application/octet-stream