We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e788e0b commit 8099cbeCopy full SHA for 8099cbe
.github/workflows/release.yml
@@ -0,0 +1,26 @@
1
+name: release
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+ - feature/migrate_to_github_actions
8
9
+jobs:
10
+ release:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v3
14
+ - name: Convert yaml to json
15
+ run: python .github/workflows/lib/yaml_to_json.py resources/referers.yml referers.json
16
+ - name: Get Date
17
+ id: date
18
+ run: echo "::set-output name=date::$(date +%Y-%m-%d)"
19
+ - name: Create GitHub release and attach referers.json
20
+ uses: softprops/action-gh-release@v1
21
+ with:
22
+ #draft: false
23
+ name: ${{ steps.date.outputs.date }}
24
+ files: ./referers.json
25
+ #env:
26
+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments