mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-04 12:51:36 +00:00
Update build.yml
This commit is contained in:
24
.github/workflows/build.yml
vendored
24
.github/workflows/build.yml
vendored
@@ -708,3 +708,27 @@ jobs:
|
|||||||
src/*.tar.xz
|
src/*.tar.xz
|
||||||
src/*.zip
|
src/*.zip
|
||||||
src/*.msi
|
src/*.msi
|
||||||
|
|
||||||
|
publish:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: build
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: Download artifacts
|
||||||
|
uses: actions/download-artifact@v3
|
||||||
|
|
||||||
|
- name: Set datetime version string
|
||||||
|
id: dateversion
|
||||||
|
run: |
|
||||||
|
echo "::set-output name=dateversion::$(date +'%Y%m%d.%k%M%S')"
|
||||||
|
|
||||||
|
- uses: "marvinpinto/action-automatic-releases@latest"
|
||||||
|
name: Publish draft release
|
||||||
|
with:
|
||||||
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
automatic_release_tag: ${{ steps.dateversion.outputs.dateversion }}
|
||||||
|
prerelease: false
|
||||||
|
draft: true
|
||||||
|
title: "GAM ${{ steps.dateversion.outputs.dateversion }}"
|
||||||
|
files: |
|
||||||
|
gam-binaries/*
|
||||||
|
|||||||
Reference in New Issue
Block a user