We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba754c7 commit cd24442Copy full SHA for cd24442
.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,22 @@ jobs:
75
with:
76
name: bzip2-files
77
path: bzip2-files.zip
78
+
79
+ release:
80
81
+ needs: generate
82
+ if: ${{ github.event_name == 'workflow_dispatch' }}
83
+ steps:
84
+ - name: Set tag
85
+ id: set_tag
86
+ run: echo "RELEASE_TAG=$(date +'%Y-%m-%d-%H%M%S')" >> $GITHUB_ENV
87
88
+ - name: Create GitHub release
89
+ uses: softprops/action-gh-release@v1
90
+ with:
91
+ tag_name: ${{ env.RELEASE_TAG }}
92
+ files:
93
+ $GITHUB_WORKSPACE/gzip-files.zip
94
+ $GITHUB_WORKSPACE/bzip2-files.zip
95
+ env:
96
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments