fix(ci): wrong operator

This commit is contained in:
Ahmad Husen
2021-05-23 21:45:07 +07:00
parent 9106fe5df2
commit 23631f017d
+1 -1
View File
@@ -95,7 +95,7 @@ jobs:
run: wget https://github.com/official-human/nonicons-font/raw/main/PKGBUILD run: wget https://github.com/official-human/nonicons-font/raw/main/PKGBUILD
- name: Update action.yml to use edge tagged container image - name: Update action.yml to use edge tagged container image
if: ${{ github.event_name == 'pull_request' || github.ref ~= 'refs/tags/*' }} if: ${{ github.event_name == 'pull_request' || github.ref != 'refs/tags/*' }}
run: | run: |
sed -i 's/.*image\:.*/ image\: \"ghcr.io\/${{ github.repository_owner }}\/${{ github.event.repository.name }}\:edge\"/' action.yml sed -i 's/.*image\:.*/ image\: \"ghcr.io\/${{ github.repository_owner }}\/${{ github.event.repository.name }}\:edge\"/' action.yml
cat action.yml cat action.yml