Skip to content

Commit a66390a

Browse files
Ro6afFalehander92
authored andcommitted
ci: upload appimage only on tags
1 parent 23c3625 commit a66390a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/codetracer.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -176,15 +176,12 @@ jobs:
176176
run: "nix develop .#devShells.x86_64-linux.default --command ./ci/build/appimage.sh"
177177

178178
- name: Upload artifact
179-
# if: startsWith(github.ref, 'refs/tags/')
179+
if: startsWith(github.ref, 'refs/tags/')
180180
env:
181181
AWS_ACCESS_KEY_ID: ${{ secrets.R2_CODETRACER_BUCKET_ACCESS_KEY_ID }}
182182
AWS_SECRET_ACCESS_KEY: ${{ secrets.R2_CODETRACER_BUCKET_ACCESS_KEY }}
183-
# run: |
184-
# nix develop .#devShells.x86_64-linux.default --command aws --endpoint-url=${{ secrets.R2_CODETRACER_BUCKET_S3_ENDPOINT }} s3 cp CodeTracer.AppImage s3://${{ secrets.R2_CODETRACER_BUCKET_NAME }}/CodeTracer-${{ github.ref_name }}-amd64.AppImage
185183
run: |
186-
nix develop .#devShells.x86_64-linux.default --command aws --endpoint-url=${{ secrets.R2_CODETRACER_BUCKET_S3_ENDPOINT }} s3 cp CodeTracer.AppImage s3://${{ secrets.R2_CODETRACER_BUCKET_NAME }}/CodeTracer-test-amd64.AppImage
187-
184+
nix develop .#devShells.x86_64-linux.default --command aws --endpoint-url=${{ secrets.R2_CODETRACER_BUCKET_S3_ENDPOINT }} s3 cp CodeTracer.AppImage s3://${{ vars.R2_CODETRACER_BUCKET_NAME }}/CodeTracer-${{ github.ref_name }}-amd64.AppImage
188185
189186
190187
test-rust:

0 commit comments

Comments
 (0)