File tree Expand file tree Collapse file tree 1 file changed +25
-4
lines changed Expand file tree Collapse file tree 1 file changed +25
-4
lines changed Original file line number Diff line number Diff line change 16
16
- name : Checkout Code
17
17
uses : actions/checkout@v3
18
18
19
+ - name : Set Build Tag
20
+ id : set_tag
21
+ run : |
22
+ export TAG="v$(date +'%Y%m%d-%H%M')"
23
+ echo "TAG_NAME=$TAG" >> $GITHUB_ENV
24
+ echo "tag_name=$TAG" >> $GITHUB_OUTPUT
25
+
26
+ - name : Set Git Identity
27
+ run : |
28
+ git config user.name "github-actions[bot]"
29
+ git config user.email "github-actions[bot]@users.noreply.github.com"
30
+
31
+ - name : Create Git Tag
32
+ run : |
33
+ git tag $TAG_NAME
34
+ git push origin $TAG_NAME
35
+
19
36
- name : Make Script Executable
20
37
run : chmod +x ./build_adventurecoin_ubuntu.sh
21
38
26
43
run : |
27
44
echo -e "2\ny\ny\ny\ny\ny" | ./build_adventurecoin_ubuntu.sh
28
45
29
- - name : Upload Binaries
30
- uses : actions/upload-artifact@v4
46
+ - name : Upload to GitHub Release
47
+ uses : softprops/action-gh-release@v1
31
48
with :
32
- name : compiled-wallets
33
- path : compiled_wallets/*
49
+ tag_name : ${{ env.TAG_NAME }}
50
+ name : AdventureCoin ${{ env.TAG_NAME }}
51
+ generate_release_notes : true
52
+ files : ./compiled_wallets/*
53
+ env :
54
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments