diff options
author | Darius Jahandarie <djahandarie@gmail.com> | 2023-03-18 13:30:10 +0900 |
---|---|---|
committer | Darius Jahandarie <djahandarie@gmail.com> | 2023-03-18 13:30:10 +0900 |
commit | a56e75e65588a9ba09ccc7c2a3b00edd8ec56522 (patch) | |
tree | a9b8f946b076aed3c7b72708da76bbae81e7ab56 | |
parent | 9164ad6b97a494c5a6e57a6f1b83016b30b473e0 (diff) |
CD: Remove unnecessary checkouts and fix paths
-rw-r--r-- | .github/workflows/publish-chrome-development.yml | 4 | ||||
-rw-r--r-- | .github/workflows/publish-chrome.yml | 4 | ||||
-rw-r--r-- | .github/workflows/publish-firefox-development.yml | 8 | ||||
-rw-r--r-- | .github/workflows/publish-firefox.yml | 4 |
4 files changed, 6 insertions, 14 deletions
diff --git a/.github/workflows/publish-chrome-development.yml b/.github/workflows/publish-chrome-development.yml index 49c176ea..bf866f67 100644 --- a/.github/workflows/publish-chrome-development.yml +++ b/.github/workflows/publish-chrome-development.yml @@ -38,8 +38,6 @@ jobs: return attempt < max ? attempt + 1 : ''; } - - uses: actions/checkout@v3 - - uses: robinraju/release-downloader@768b85c8d69164800db5fc00337ab917daf3ce68 # pin@v1.7 with: tag: ${{ github.ref_name }} @@ -58,7 +56,7 @@ jobs: continue-on-error: true uses: cardinalby/webext-buildtools-chrome-webstore-upload-action@8db7a005529498d95d3e2e0166f6f4050d2b96a5 # pin@v1.0.10 with: - zipFilePath: builds/yomitan-chrome-dev.zip + zipFilePath: yomitan-chrome-dev.zip extensionId: ${{ secrets.G_DEVELOPMENT_EXTENSION_ID }} apiAccessToken: ${{ steps.fetchAccessToken.outputs.accessToken }} waitForUploadCheckCount: 10 diff --git a/.github/workflows/publish-chrome.yml b/.github/workflows/publish-chrome.yml index a64b3e50..e1502165 100644 --- a/.github/workflows/publish-chrome.yml +++ b/.github/workflows/publish-chrome.yml @@ -40,8 +40,6 @@ jobs: return attempt < max ? attempt + 1 : ''; } - - uses: actions/checkout@v3 - - uses: robinraju/release-downloader@768b85c8d69164800db5fc00337ab917daf3ce68 # pin@v1.7 with: tag: ${{ github.ref_name }} @@ -60,7 +58,7 @@ jobs: continue-on-error: true uses: cardinalby/webext-buildtools-chrome-webstore-upload-action@8db7a005529498d95d3e2e0166f6f4050d2b96a5 # pin@v1.0.10 with: - zipFilePath: builds/yomitan-chrome.zip + zipFilePath: yomitan-chrome.zip extensionId: ${{ secrets.G_STABLE_EXTENSION_ID }} apiAccessToken: ${{ steps.fetchAccessToken.outputs.accessToken }} waitForUploadCheckCount: 10 diff --git a/.github/workflows/publish-firefox-development.yml b/.github/workflows/publish-firefox-development.yml index e8609aa0..7ffb56ec 100644 --- a/.github/workflows/publish-firefox-development.yml +++ b/.github/workflows/publish-firefox-development.yml @@ -15,8 +15,6 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@v3 - - uses: robinraju/release-downloader@768b85c8d69164800db5fc00337ab917daf3ce68 # pin@v1.7 with: release: ${{ github.event.release.id }} @@ -29,8 +27,8 @@ jobs: with: timeoutMs: 1200000 extensionId: ${{ secrets.FF_OFFLINE_EXT_ID }} - zipFilePath: builds/yomitan-firefox-dev.zip - xpiFilePath: builds/yomitan-firefox-dev.xpi + zipFilePath: yomitan-firefox-dev.zip + xpiFilePath: yomitan-firefox-dev.xpi jwtIssuer: ${{ secrets.FF_JWT_ISSUER }} jwtSecret: ${{ secrets.FF_JWT_SECRET }} @@ -48,7 +46,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ github.event.release.upload_url }} - asset_path: builds/yomitan-firefox.xpi + asset_path: yomitan-firefox.xpi asset_name: yomitan-firefox.xpi asset_content_type: application/x-xpinstall diff --git a/.github/workflows/publish-firefox.yml b/.github/workflows/publish-firefox.yml index 7b2037af..1dd6d260 100644 --- a/.github/workflows/publish-firefox.yml +++ b/.github/workflows/publish-firefox.yml @@ -9,8 +9,6 @@ jobs: runs-on: ubuntu-latest environment: cd steps: - - uses: actions/checkout@v3 - - uses: robinraju/release-downloader@768b85c8d69164800db5fc00337ab917daf3ce68 # pin@v1.7 with: tag: ${{ github.ref_name }} @@ -21,7 +19,7 @@ jobs: uses: cardinalby/webext-buildtools-firefox-addons-action@924ad87df7e4af50a654c164ad9e498dce260ffa # pin@v1.0.9 continue-on-error: true with: - zipFilePath: builds/yomitan-firefox.zip + zipFilePath: yomitan-firefox.zip extensionId: ${{ secrets.FF_EXTENSION_ID }} jwtIssuer: ${{ secrets.FF_JWT_ISSUER }} jwtSecret: ${{ secrets.FF_JWT_SECRET }} |