Skip to content

Commit fd31f87

Browse files
umbynoscmaglie
authored andcommitted
remove config.ini from the CI, now it's generated by the executable
1 parent 3f9a6c6 commit fd31f87

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

.github/workflows/publish-go-tester-task.yml

-2
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,10 @@ jobs:
138138
run: task go:build
139139
if: runner.os == 'macOS'
140140

141-
# config.ini is required by the executable when it's run
142141
- name: Upload artifacts
143142
uses: actions/upload-artifact@v3
144143
with:
145144
name: arduino-create-agent-${{ matrix.os }}${{ matrix.arch }}
146145
path: |
147146
arduino-create-agent*
148-
config.ini
149147
if-no-files-found: error

.github/workflows/release.yml

-6
Original file line numberDiff line numberDiff line change
@@ -131,14 +131,12 @@ jobs:
131131
aws s3 sync public/ s3://${{ secrets.DOWNLOADS_BUCKET }}${{ env.OLD_TARGET }}
132132
if: steps.prerelease.outputs.IS_PRE != 'true'
133133

134-
# config.ini is required by the executable when it's run
135134
- name: Upload artifacts
136135
uses: actions/upload-artifact@v3
137136
with:
138137
name: ${{ env.PROJECT_NAME }}-${{ matrix.os }}${{ matrix.arch }}
139138
path: |
140139
${{ env.PROJECT_NAME }}*
141-
config.ini
142140
if-no-files-found: error
143141

144142
create-macos-bundle:
@@ -164,10 +162,6 @@ jobs:
164162
- name: Remove placeholder file
165163
run: rm -rf ${{ env.EXE_PATH }}.empty
166164

167-
- name: Move config.ini to the Resources dir
168-
working-directory: ${{ env.EXE_PATH }}
169-
run: mv config.ini ../Resources/
170-
171165
# zip artifacts do not mantain executable permission
172166
- name: Make executable
173167
run: chmod -v +x ${{ env.EXE_PATH }}${{ env.PROJECT_NAME }}

0 commit comments

Comments
 (0)