5
5
branches :
6
6
- master
7
7
8
-
9
8
jobs :
10
9
build :
11
10
runs-on : windows-latest
40
39
shell : bash
41
40
42
41
43
-
44
- # - name: Create release and upload binary
45
- # env:
46
- # GH_TOKEN: ${{ secrets.RELEASE_TOKEN }}
47
- # run: |
48
- # echo "Using RELEASE_VERSION: $RELEASE_VERSION"
49
- # if gh release view $RELEASE_VERSION; then
50
- # gh release delete $RELEASE_VERSION --yes
51
- # fi
52
-
53
- # gh release create $RELEASE_VERSION release_artifacts/* --title "Release $RELEASE_VERSION" --notes "Do not run this yet."
54
- # shell: bash
55
-
56
- - name : List files in release_artifacts
57
- run : |
58
- Get-ChildItem -Path .\release_artifacts\ -Recurse
59
- shell : pwsh
60
-
61
-
62
- # - name: Generate file list for release
63
- # run: |
64
- # $files = Get-ChildItem -Path .\release_artifacts\Boxman Fiddlejig\ -Recurse | ForEach-Object { $_.FullName }
65
- # $files -join "`n" | Out-File -Encoding utf8 files.txt
66
- # shell: pwsh
67
-
68
- # - name: Generate file list for release
69
- # run: |
70
- # $files = Get-ChildItem -Path .\release_artifacts\Boxman Fiddlejig\ -Recurse | ForEach-Object { $_.FullName }
71
- # $files -join "`n" | Out-File -Encoding utf8 files.txt
72
- # shell: pwsh
73
-
74
- # - name: Create release and upload binary
75
- # env:
76
- # GH_TOKEN: ${{ secrets.RELEASE_TOKEN }}
77
- # run: |
78
- # Write-Output "Using RELEASE_VERSION: $env:RELEASE_VERSION"
79
-
80
- # if (gh release view $env:RELEASE_VERSION) {
81
- # gh release delete $env:RELEASE_VERSION --yes
82
- # }
83
-
84
- # $files = Get-ChildItem -Path .\release_artifacts\ -Recurse -File | ForEach-Object { $_.FullName }
85
- # $fileList = $files -join " "
86
- # # gh release create $env:RELEASE_VERSION release_artifacts/* --title "Release $env:RELEASE_VERSION" --notes "Do not run this yet."
87
-
88
- # # $files = Get-ChildItem -Path release_artifacts -File
89
- # # $fileArgs = $files.FullName -join " "
90
-
91
- # gh release create $env:RELEASE_VERSION $fileArgs --title "Release $env:RELEASE_VERSION" --notes "Do not run this yet."
92
- # shell: pwsh
93
42
- name : Create tag
94
43
run : |
95
44
git config user.name "GitHub Actions"
@@ -114,28 +63,6 @@ jobs:
114
63
115
64
116
65
117
- # - name: Set up release version
118
- # id: version
119
- # run: echo "::set-output name=version::v$(date +'%Y%m%d')"
120
-
121
-
122
- # - name: Create Release
123
- # id: create_release
124
- # uses: actions/create-release@v1
125
- # with:
126
- # tag_name: ${{ steps.version.outputs.version }}
127
- # release_name: Release ${{ steps.version.outputs.version }}
128
- # draft: false
129
- # prerelease: false
130
- # env:
131
- # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
132
-
133
- # - name: Upload artifacts to the release
134
- # uses: actions/upload-artifact@v3
135
- # with:
136
- # name: my-artifacts
137
- # path: release_artifacts/
138
-
139
66
140
67
141
68
0 commit comments