ci: update sample PKGBUILD

This commit is contained in:
Ahmad Husen
2021-09-30 17:07:53 +07:00
parent 3aa6342a73
commit bc46e9c8d4
+6 -6
View File
@@ -12,7 +12,7 @@ on:
jobs: jobs:
pretest: pretest:
name: Pretest (with Dockerfile) name: Test (with Dockerfile)
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@@ -25,9 +25,9 @@ jobs:
cat action.yml cat action.yml
- name: Get sample PKGBUILD - name: Get sample PKGBUILD
run: wget https://github.com/official-human/nonicons-font/raw/main/PKGBUILD run: wget https://github.com/datakrama/nonicons-font/raw/main/PKGBUILD
- name: Running tests - name: Running test
uses: ./ uses: ./
with: with:
updpkgsums: true updpkgsums: true
@@ -84,7 +84,7 @@ jobs:
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
test: test:
name: Test (with pre-built Container Image) name: Test (with prebuilt Container Image)
needs: publish needs: publish
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -93,7 +93,7 @@ jobs:
uses: actions/checkout@v2.3.4 uses: actions/checkout@v2.3.4
- name: Get sample PKGBUILD - name: Get sample PKGBUILD
run: wget https://github.com/official-human/nonicons-font/raw/main/PKGBUILD run: wget https://github.com/datakrama/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.ref == 'refs/heads/main' if: github.ref == 'refs/heads/main'
@@ -101,7 +101,7 @@ jobs:
sed -i 's/.*image\:.*/ image\: \"docker\:\/\/ghcr.io\/${{ github.repository_owner }}\/${{ github.event.repository.name }}\:edge\"/' action.yml sed -i 's/.*image\:.*/ image\: \"docker\:\/\/ghcr.io\/${{ github.repository_owner }}\/${{ github.event.repository.name }}\:edge\"/' action.yml
cat action.yml cat action.yml
- name: Running tests - name: Running test
uses: ./ uses: ./
with: with:
updpkgsums: true updpkgsums: true