We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba754c7 commit 8027756Copy full SHA for 8027756
.github/workflows/generate.yml
@@ -9,7 +9,7 @@ on:
9
10
jobs:
11
generate:
12
- runs-on: ubuntu-latest
+ runs-on: ubuntu-latest
13
steps:
14
- name: Checkout sources
15
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
@@ -75,3 +75,19 @@ jobs:
75
with:
76
name: bzip2-files
77
path: bzip2-files.zip
78
+
79
+ - name: Set tag
80
+ id: set_tag
81
+ run: echo "RELEASE_TAG=$(date +'%Y-%m-%d-%H%M%S')" >> $GITHUB_ENV
82
+ # if: ${{ github.event_name == 'workflow_dispatch' }}
83
84
+ - name: Create GitHub release
85
+ uses: actions/create-release@v1
86
87
+ with:
88
+ tag_name: ${{ env.RELEASE_TAG }}
89
+ files:
90
+ gzip-files.zip
91
+ bzip2-files.zip
92
+ env:
93
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments