31
31
args : release --clean ${{ env.flags }}
32
32
env :
33
33
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
34
+ COSIGN_PWD : ${{ secrets.COSIGN_PWD }}
34
35
HOMEBREW_TOKEN : ${{ secrets.HOMEBREW_TOKEN}}
35
36
36
37
- name : Publish rpm to Gemfury
39
40
run : |
40
41
for filename in dist/vfox*.rpm; do
41
42
curl -F package=@"$filename" https://{$FURY_TOKEN}@push.fury.io/versionfox/
42
- done
43
-
44
- compile-inno-setup :
45
- name : Compile setup and publish
46
- needs : release
47
- runs-on : windows-latest
48
- defaults :
49
- run :
50
- working-directory : inno_setup
51
- steps :
52
- - name : Checkout version-fox
53
- uses : actions/checkout@v3
54
- - name : Get version-fox version
55
- id : version-fox-version
56
- uses : actions/github-script@v6
57
- with :
58
- github-token : NO_NEED
59
- result-encoding : string
60
- script : return "${{ github.event.release.tag_name }}".substring(1)
61
- - name : Install Inno Setup
62
- run : |
63
- curl --retry 10 --retry-all-errors -L -o installer.exe https://jrsoftware.org/download.php/is.exe
64
- ./installer.exe /verysilent /allusers /dir=inst
65
- sleep 60
66
- - name : Download version-fox packages
67
- env :
68
- VFOX_VERSION : ${{ steps.version-fox-version.outputs.result }}
69
- DOWNLOAD_URL : https://github.com/${{ github.event.repository.full_name }}/releases/download
70
- run : |
71
- curl -L -o i386.zip ${{ env.DOWNLOAD_URL }}/v${{ env.VFOX_VERSION }}/vfox_${{ env.VFOX_VERSION }}_windows_i386.zip && unzip i386.zip
72
- curl -L -o x86_64.zip ${{ env.DOWNLOAD_URL }}/v${{ env.VFOX_VERSION }}/vfox_${{ env.VFOX_VERSION }}_windows_x86_64.zip && unzip x86_64.zip
73
- curl -L -o aarch64.zip ${{ env.DOWNLOAD_URL }}/v${{ env.VFOX_VERSION }}/vfox_${{ env.VFOX_VERSION }}_windows_aarch64.zip && unzip aarch64.zip
74
- - name : Compile by Inno Setup
75
- env :
76
- TRZSZ_VERSION : ${{ steps.version-fox-version.outputs.result }}
77
- run : |
78
- ./inst/iscc vfox_windows_i386.iss
79
- ./inst/iscc vfox_windows_x86_64.iss
80
- ./inst/iscc vfox_windows_aarch64.iss
81
- - name : Upload Inno Setup Assets
82
- uses : trzsz/upload-release-assets@v1
83
- env :
84
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
85
- with :
86
- release_id : ${{ github.event.release.id }}
87
- assets_path : inno_setup/Output/*.exe
43
+ done
0 commit comments